mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()
This allows to selectively autoload drivers for ISH devices. Currently all ISH drivers are loaded for all systems having any ISH device. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
5af06603c4
commit
fa443bc3c1
@@ -895,4 +895,17 @@ struct dfl_device_id {
|
||||
kernel_ulong_t driver_data;
|
||||
};
|
||||
|
||||
/* ISHTP (Integrated Sensor Hub Transport Protocol) */
|
||||
|
||||
#define ISHTP_MODULE_PREFIX "ishtp:"
|
||||
|
||||
/**
|
||||
* struct ishtp_device_id - ISHTP device identifier
|
||||
* @guid_string: 36 char string of the form fa50ff2b-f2e8-45de-83fa-65417f2f49ba
|
||||
* @context: pointer to driver specific data
|
||||
*/
|
||||
struct ishtp_device_id {
|
||||
guid_t guid;
|
||||
};
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
Reference in New Issue
Block a user