aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-dm355evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-dm355evm.c')
-rw-r--r--drivers/rtc/rtc-dm355evm.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c
index 2322c43af201..d4457afcba89 100644
--- a/drivers/rtc/rtc-dm355evm.c
+++ b/drivers/rtc/rtc-dm355evm.c
@@ -161,16 +161,6 @@ static struct platform_driver rtc_dm355evm_driver = {
161 }, 161 },
162}; 162};
163 163
164static int __init dm355evm_rtc_init(void) 164module_platform_driver(rtc_dm355evm_driver);
165{
166 return platform_driver_register(&rtc_dm355evm_driver);
167}
168module_init(dm355evm_rtc_init);
169
170static void __exit dm355evm_rtc_exit(void)
171{
172 platform_driver_unregister(&rtc_dm355evm_driver);
173}
174module_exit(dm355evm_rtc_exit);
175 165
176MODULE_LICENSE("GPL"); 166MODULE_LICENSE("GPL");