diff options
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
| -rw-r--r-- | drivers/rtc/rtc-at91sam9.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 2dfe7a2fb998..39cfd2ee0042 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
| 20 | #include <linux/ioctl.h> | 20 | #include <linux/ioctl.h> |
| 21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
| 22 | #include <linux/platform_data/atmel.h> | ||
| 22 | 23 | ||
| 23 | #include <mach/board.h> | ||
| 24 | #include <mach/at91_rtt.h> | 24 | #include <mach/at91_rtt.h> |
| 25 | #include <mach/cpu.h> | 25 | #include <mach/cpu.h> |
| 26 | 26 | ||
| @@ -289,7 +289,7 @@ static const struct rtc_class_ops at91_rtc_ops = { | |||
| 289 | /* | 289 | /* |
| 290 | * Initialize and install RTC driver | 290 | * Initialize and install RTC driver |
| 291 | */ | 291 | */ |
| 292 | static int __devinit at91_rtc_probe(struct platform_device *pdev) | 292 | static int at91_rtc_probe(struct platform_device *pdev) |
| 293 | { | 293 | { |
| 294 | struct resource *r, *r_gpbr; | 294 | struct resource *r, *r_gpbr; |
| 295 | struct sam9_rtc *rtc; | 295 | struct sam9_rtc *rtc; |
| @@ -387,7 +387,7 @@ fail: | |||
| 387 | /* | 387 | /* |
| 388 | * Disable and remove the RTC driver | 388 | * Disable and remove the RTC driver |
| 389 | */ | 389 | */ |
| 390 | static int __devexit at91_rtc_remove(struct platform_device *pdev) | 390 | static int at91_rtc_remove(struct platform_device *pdev) |
| 391 | { | 391 | { |
| 392 | struct sam9_rtc *rtc = platform_get_drvdata(pdev); | 392 | struct sam9_rtc *rtc = platform_get_drvdata(pdev); |
| 393 | u32 mr = rtt_readl(rtc, MR); | 393 | u32 mr = rtt_readl(rtc, MR); |
| @@ -463,7 +463,7 @@ static int at91_rtc_resume(struct platform_device *pdev) | |||
| 463 | 463 | ||
| 464 | static struct platform_driver at91_rtc_driver = { | 464 | static struct platform_driver at91_rtc_driver = { |
| 465 | .probe = at91_rtc_probe, | 465 | .probe = at91_rtc_probe, |
| 466 | .remove = __devexit_p(at91_rtc_remove), | 466 | .remove = at91_rtc_remove, |
| 467 | .shutdown = at91_rtc_shutdown, | 467 | .shutdown = at91_rtc_shutdown, |
| 468 | .suspend = at91_rtc_suspend, | 468 | .suspend = at91_rtc_suspend, |
| 469 | .resume = at91_rtc_resume, | 469 | .resume = at91_rtc_resume, |
