platform/x86: isthp_eclite: only load for matching devices
``` Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1921376 Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45226519 Upstream status: v5.18-rc6 Conflicts: MODULE_ALIAS was changed to MODULE_LICENSE somewhere along the way, constituting a minor fast-forward. commit f155dfeaa4ee21bce3f8f76b2addaec396b41b39 Author: Thomas Weißschuh <linux@weissschuh.net> Date: Fri Oct 29 17:29:01 2021 +0200 platform/x86: isthp_eclite: 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> Signed-off-by: Tony Camuso <tcamuso@redhat.com>
This commit is contained in:
parent
14e2a1900c
commit
583846d5e8
|
@ -684,6 +684,12 @@ static struct ishtp_cl_driver ecl_ishtp_cl_driver = {
|
||||||
.driver.pm = &ecl_ishtp_pm_ops,
|
.driver.pm = &ecl_ishtp_pm_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct ishtp_device_id ecl_ishtp_id_table[] = {
|
||||||
|
{ ecl_ishtp_guid },
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
MODULE_DEVICE_TABLE(ishtp, ecl_ishtp_id_table);
|
||||||
|
|
||||||
static int __init ecl_ishtp_init(void)
|
static int __init ecl_ishtp_init(void)
|
||||||
{
|
{
|
||||||
return ishtp_cl_driver_register(&ecl_ishtp_cl_driver, THIS_MODULE);
|
return ishtp_cl_driver_register(&ecl_ishtp_cl_driver, THIS_MODULE);
|
||||||
|
|
Loading…
Reference in New Issue