Commit 44e2a58c authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Jiri Kosina

HID: intel-ish-hid: fw-loader: only load for matching devices

Previously it was loaded for all ISHTP devices.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent cb1a2c68
......@@ -1063,6 +1063,12 @@ static struct ishtp_cl_driver loader_ishtp_cl_driver = {
.reset = loader_ishtp_cl_reset,
};
static const struct ishtp_device_id loader_ishtp_id_table[] = {
{ loader_ishtp_guid },
{ }
};
MODULE_DEVICE_TABLE(ishtp, loader_ishtp_id_table);
static int __init ish_loader_init(void)
{
return ishtp_cl_driver_register(&loader_ishtp_cl_driver, THIS_MODULE);
......@@ -1083,4 +1089,3 @@ MODULE_DESCRIPTION("ISH ISH-TP Host firmware Loader Client Driver");
MODULE_AUTHOR("Rushikesh S Kadam <rushikesh.s.kadam@intel.com>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("ishtp:*");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment