Remove MODULE_PNP_INFO for ig4(4) driver

ig4(4) does not support suspend/resume but present on the hardware where
such functionality is critical, like laptops. Remove PNP info to avoid
breaking suspend/resume on the systems where ig4(4) load is not explicitly
requested by the user.

PR:             229791
Reported by:    Ali Abdallah
This commit is contained in:
Oleksandr Tymoshenko 2018-07-16 01:34:45 +00:00
parent e06262c163
commit 158f9d1551
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336326

View File

@ -228,5 +228,7 @@ DRIVER_MODULE_ORDERED(ig4iic_pci, pci, ig4iic_pci_driver, ig4iic_pci_devclass, 0
MODULE_DEPEND(ig4iic_pci, pci, 1, 1, 1);
MODULE_DEPEND(ig4iic_pci, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
MODULE_VERSION(ig4iic_pci, 1);
MODULE_PNP_INFO("W32:vendor/device", pci, ig4iic_pci, ig4iic_pci_devices,
sizeof(ig4iic_pci_devices[0]), nitems(ig4iic_pci_devices));
/*
* Loading this module breaks suspend/resume on laptops
* Do not add MODULE_PNP_INFO until it's impleneted
*/