ptp_pch: Load module automatically if ID matches
Subsystems (3)
PATCH 1/1 ptp_pch: Load module automatically if ID matches
The driver can't be loaded automatically because it misses module alias to be provided. Add corresponding MODULE_DEVICE_TABLE() call to the driver.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/ptp/ptp_pch.c | 1 + 1 file changed, 1 insertion(+)
drivers/ptp/ptp_pch.c +1 -0
@@ -644,6 +644,7 @@ static const struct pci_device_id pch_ieee1588_pcidev_id[] = { }, {0} }; +MODULE_DEVICE_TABLE (pci, pch_ieee1588_pcidev_id); static SIMPLE_DEV_PM_OPS(pch_pm_ops, pch_suspend, pch_resume);
Signature · 1 line
2.33.0