mhi: Fix networking tree build.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2021 11:21:30 +0000 (12:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2021 11:21:30 +0000 (12:21 +0100)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mhi.h

index 944aa3a..5e08468 100644 (file)
@@ -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.