Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb71a4fd authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman
Browse files

ptp_pch: Load module automatically if ID matches



[ Upstream commit 7cd8b1542a7ba0720c5a0a85ed414a122015228b ]

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: 863d08ec ("supports eg20t ptp clock")
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7a1721a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -698,6 +698,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,