mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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.
Fixes: 863d08ece9
("supports eg20t ptp clock")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
eed183abc0
commit
7cd8b1542a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue