]> git.baikalelectronics.ru Git - kernel.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:08:19 +0000 (10:08 +0200)
commit2d7585d4c50b42a6ff739d093849e273dd80c92a
treed21b1cff3f201502bb4504e49e66991de7455dce
parent1384d79f42ec287c683543cc91e6698cd90454a0
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: 9857e8678bf9 ("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