mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
ptp_pch: Load module automatically if ID matches
[ Upstream commit7cd8b1542a
] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a7b441a2e2
commit
27e53e23a3
1 changed files with 1 additions and 0 deletions
|
@ -683,6 +683,7 @@ static const struct pci_device_id pch_ieee1588_pcidev_id[] = {
|
||||||
},
|
},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(pci, pch_ieee1588_pcidev_id);
|
||||||
|
|
||||||
static struct pci_driver pch_driver = {
|
static struct pci_driver pch_driver = {
|
||||||
.name = KBUILD_MODNAME,
|
.name = KBUILD_MODNAME,
|
||||||
|
|
Loading…
Reference in a new issue