From: David S. Miller Date: Mon, 2 Aug 2021 11:21:30 +0000 (+0100) Subject: mhi: Fix networking tree build. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=40e159403896f7d55c98f858d0b20fee1d941fa4;p=linux.git mhi: Fix networking tree build. Signed-off-by: David S. Miller --- diff --git a/include/linux/mhi.h b/include/linux/mhi.h index 944aa3aa30355..5e08468854db4 100644 --- a/include/linux/mhi.h +++ b/include/linux/mhi.h @@ -719,8 +719,13 @@ void mhi_device_put(struct mhi_device *mhi_dev); * host and device execution environments match and * channels are in a DISABLED state. * @mhi_dev: Device associated with the channels + * @flags: MHI channel flags */ -int mhi_prepare_for_transfer(struct mhi_device *mhi_dev); +int mhi_prepare_for_transfer(struct mhi_device *mhi_dev, + unsigned int flags); + +/* Automatically allocate and queue inbound buffers */ +#define MHI_CH_INBOUND_ALLOC_BUFS BIT(0) /** * mhi_unprepare_from_transfer - Reset UL and DL channels for data transfer.