Merge "include: Add device table definition for MHI drivers"
This commit is contained in:
commit
ee74cee88f
1 changed files with 12 additions and 0 deletions
|
@ -677,4 +677,16 @@ struct ulpi_device_id {
|
||||||
kernel_ulong_t driver_data;
|
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 */
|
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue