mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-09 14:14:00 +08:00
HID: intel-ish-hid: fw-loader: only load for matching devices
Previously it was loaded for all ISHTP devices. 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:
parent
cb1a2c6847
commit
44e2a58cb8
@ -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:*");
|
||||
|
Loading…
Reference in New Issue
Block a user