OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 15:13:00 +0000 (16:13 +0100)
commit7cd8b1542a7ba0720c5a0a85ed414a122015228b
tree6962f17c4171f5b1024adeec66313a058a60d7a3
parenteed183abc0d3b8adb64fd1363b7cea7986cd58d6
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: 863d08ece9bf ("supports eg20t ptp clock")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_pch.c