include: Add device table definition for MHI drivers

Add driver definition used by MHI core to enable
device drivers that use the MHI bus.

Change-Id: I2740dd7687dff0312fd679dbac146d21d9cbc8fe
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
This commit is contained in:
Gustavo Solaira 2018-11-19 12:12:47 -08:00
parent f1587d8660
commit a772e4964b

View file

@ -677,4 +677,16 @@ struct ulpi_device_id {
kernel_ulong_t driver_data;
};
#define MHI_NAME_SIZE 32
/**
* struct mhi_device_id - MHI device identification
* @chan: MHI channel name
* @driver_data: driver data
*/
struct mhi_device_id {
const char chan[MHI_NAME_SIZE];
kernel_ulong_t driver_data;
};
#endif /* LINUX_MOD_DEVICETABLE_H */