diff options
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
-rw-r--r-- | drivers/rtc/rtc-cmos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index f3ee2ad566b4..b48517021ee6 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c | |||
@@ -943,6 +943,9 @@ static void cmos_platform_shutdown(struct platform_device *pdev) | |||
943 | cmos_do_shutdown(); | 943 | cmos_do_shutdown(); |
944 | } | 944 | } |
945 | 945 | ||
946 | /* work with hotplug and coldplug */ | ||
947 | MODULE_ALIAS("platform:rtc_cmos"); | ||
948 | |||
946 | static struct platform_driver cmos_platform_driver = { | 949 | static struct platform_driver cmos_platform_driver = { |
947 | .remove = __exit_p(cmos_platform_remove), | 950 | .remove = __exit_p(cmos_platform_remove), |
948 | .shutdown = cmos_platform_shutdown, | 951 | .shutdown = cmos_platform_shutdown, |