mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 13:52:50 +01: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 <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Acked-by: Hans de Goede <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
1 parent
cb1a2c6847
commit
44e2a58cb8
1 file changed
+6
-1
@@ -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 <[email protected]>");
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("ishtp:*");
|
||||
Reference in new issue
Block a user