Previously it was loaded for all ISHTP devices.
Unified · Split
| @@ -681,6 +681,12 @@ static struct ishtp_cl_driver ecl_ishtp_cl_driver = { · 680 unmodified lines | ||
| 681 | 681 | .driver.pm = &ecl_ishtp_pm_ops, |
| 682 | 682 | }; |
| 683 | 683 | |
| 684 | +static const struct ishtp_device_id ecl_ishtp_id_table[] = { | |
| 685 | + { ecl_ishtp_guid }, | |
| 686 | + { } | |
| 687 | +}; | |
| 688 | +MODULE_DEVICE_TABLE(ishtp, ecl_ishtp_id_table); | |
| 689 | + | |
| 684 | 690 | static int __init ecl_ishtp_init(void) |
| 685 | 691 | { |
| 686 | 692 | return ishtp_cl_driver_register(&ecl_ishtp_cl_driver, THIS_MODULE); |
| @@ -698,4 +704,3 @@ MODULE_DESCRIPTION("ISH ISHTP eclite client opregion driver"); · 11 unmodified lines | ||
| 698 | 704 | MODULE_AUTHOR("K Naduvalath, Sumesh <sumesh.k.naduvalath@intel.com>"); |
| 699 | 705 | |
| 700 | 706 | MODULE_LICENSE("GPL v2"); |
| 701 | −MODULE_ALIAS("ishtp:*"); | |