mhi: add snapshot for MHI driver stack
Add snapshot for MHI driver stack from msm-4.19 commit 6cc10bff8d4a ("Bluetooth: Re-initialize regulator to NULL on error"). Additional changes are made to pass check_patch errors. Change-Id: I4dbe727e25d01967dd9cbe60125af47d3bab3f20 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
@@ -820,4 +820,17 @@ struct wmi_device_id {
|
||||
const void *context;
|
||||
};
|
||||
|
||||
#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 */
|
||||
|
Reference in New Issue
Block a user