From: Jan Beulich Date: Fri, 22 Jun 2012 15:41:00 +0000 (+0100) Subject: watchdog: iTCO_wdt: add platform driver module alias X-Git-Tag: upstream/snapshot3+hdmi~7160^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5de32e3ec9d4d5a355659760d5045b80c0a05d8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: Aaron Sierra Acked-by: Guenter Roeck Cc: Samuel Ortiz Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index bc47e90..9c2c27c 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);