Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a772e496 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

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: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent f1587d86
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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 */