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

platform/chrome: chros_ec_ishtp: 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 0d0cccc0
......@@ -774,6 +774,12 @@ static struct ishtp_cl_driver cros_ec_ishtp_driver = {
},
};
static const struct ishtp_device_id cros_ec_ishtp_id_table[] = {
{ cros_ish_guid },
{ }
};
MODULE_DEVICE_TABLE(ishtp, cros_ec_ishtp_id_table);
static int __init cros_ec_ishtp_mod_init(void)
{
return ishtp_cl_driver_register(&cros_ec_ishtp_driver, THIS_MODULE);
......@@ -791,4 +797,3 @@ MODULE_DESCRIPTION("ChromeOS EC ISHTP 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