summaryrefslogtreecommitdiff
path: root/scripts/mod/devicetable-offsets.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-10-29 18:28:56 +0300
committerJiri Kosina <jkosina@suse.cz>2021-11-09 13:41:46 +0300
commitfa443bc3c1e4b28d9315dea882e8358ba6e26f8b (patch)
tree970315d2559681a6085e0c2993b592ea83936870 /scripts/mod/devicetable-offsets.c
parent5af06603c4090617be216a9185193a7be3ca60af (diff)
downloadlinux-fa443bc3c1e4b28d9315dea882e8358ba6e26f8b.tar.xz
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>
Diffstat (limited to 'scripts/mod/devicetable-offsets.c')
-rw-r--r--scripts/mod/devicetable-offsets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c
index cc3625617a0e..c0d3bcb99138 100644
--- a/scripts/mod/devicetable-offsets.c
+++ b/scripts/mod/devicetable-offsets.c
@@ -259,5 +259,8 @@ int main(void)
DEVID_FIELD(dfl_device_id, type);
DEVID_FIELD(dfl_device_id, feature_id);
+ DEVID(ishtp_device_id);
+ DEVID_FIELD(ishtp_device_id, guid);
+
return 0;
}