]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ptp_pch: Load module automatically if ID matches
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Oct 2021 16:20:33 +0000 (19:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 08:10:51 +0000 (10:10 +0200)
commit1c1d9acb9da780b896a5c86f1747bedca5bbd3f5
treef7f706c21a8f650ba8225b19cceb715b0950c08a
parent3be9334fbfda238caf1d3692fbdb8a7b731441b6
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: 863d08ece9bf ("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>
drivers/ptp/ptp_pch.c