Re: [PATCHv3 2/6] mailbox: Introduce a new common API
From: Greg KH
Date: Sat Feb 15 2014 - 14:04:15 EST
On Sat, Feb 15, 2014 at 11:55:27PM +0530, Jassi Brar wrote:
> +/*
> + * After 'startup' and before 'shutdown', the IPC controller driver
> + * notifies the API of data received over the link.
> + * The controller driver should make sure the 'RTR' is de-asserted since
> + * reception of the packet and until after this call returns.
> + * This call could be made from atomic context.
> + */
> +void ipc_link_received_data(struct ipc_link *link, void *mssg)
> +{
> + struct ipc_chan *chan = (struct ipc_chan *)link->api_priv;
> +
> + /* No buffering the received data */
> + if (chan->rxcb)
> + chan->rxcb(chan->cl_id, mssg);
> +}
> +EXPORT_SYMBOL(ipc_link_received_data);
EXPORT_SYMBOL_GPL() on all of these perhaps?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/