diff options
author | David S. Miller <davem@davemloft.net> | 2021-08-02 12:21:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 12:21:30 +0100 |
commit | 40e159403896f7d55c98f858d0b20fee1d941fa4 (patch) | |
tree | 27595c48f2c528ca59fcada0e6bbe948e57831d0 /include | |
parent | ebca25ead0711729e0aeeec45062e7ac4df3e158 (diff) | |
download | linux-40e159403896f7d55c98f858d0b20fee1d941fa4.tar.bz2 |
mhi: Fix networking tree build.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mhi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/mhi.h b/include/linux/mhi.h index 944aa3aa3035..5e08468854db 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. |