aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorKay Sievers <[email protected]>2008-04-11 04:29:25 +0000
committerLinus Torvalds <[email protected]>2008-04-11 15:06:44 +0000
commitad28a07bcadc5945f7a90d9de3a196825e69d9d3 (patch)
tree73ed6752e8c63fcc50af20c8ed88c3fda98a58c0 /drivers/rtc/rtc-sh.c
parentwatchdog: fix platform driver hotplug/coldplug (diff)
downloadkernel-ad28a07bcadc5945f7a90d9de3a196825e69d9d3.tar.gz
kernel-ad28a07bcadc5945f7a90d9de3a196825e69d9d3.zip
rtc: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable RTC platform drivers, to re-enable module auto loading. [[email protected]: more drivers, minor fix] Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: David Brownell <[email protected]> Cc: Greg KH <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/rtc/rtc-sh.c')
-rw-r--r--drivers/rtc/rtc-sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c
index c1d6a1880ccf..9e9caa5d7f5f 100644
--- a/drivers/rtc/rtc-sh.c
+++ b/drivers/rtc/rtc-sh.c
@@ -664,3 +664,4 @@ MODULE_DESCRIPTION("SuperH on-chip RTC driver");
MODULE_VERSION(DRV_VERSION);
MODULE_AUTHOR("Paul Mundt <[email protected]>, Jamie Lenehan <[email protected]>");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);