diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-06-22 16:41:00 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-06-28 20:40:10 +0200 |
commit | e5de32e3ec9d4d5a355659760d5045b80c0a05d8 (patch) | |
tree | acbc6e17c4815345ef59932e577fd817c17fd5dc /drivers/watchdog | |
parent | 47b514cd476db2eca066a2ad31501b079d6c9cce (diff) | |
download | lwn-e5de32e3ec9d4d5a355659760d5045b80c0a05d8.tar.gz lwn-e5de32e3ec9d4d5a355659760d5045b80c0a05d8.zip |
watchdog: iTCO_wdt: add platform driver module alias
The recent conversion of iTCO_wdt resulted in the driver no longer
getting loaded automatically, since it no longer has a
MODULE_DEVICE_TABLE() included. As the lpc_ich driver now creates a
platform device, auto-loading can easily be done by having a respective
module alias in place.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/iTCO_wdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index bc47e9012f37..9c2c27c3b424 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c @@ -699,3 +699,4 @@ MODULE_DESCRIPTION("Intel TCO WatchDog Timer Driver"); MODULE_VERSION(DRV_VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); +MODULE_ALIAS("platform:" DRV_NAME); |