diff options
Diffstat (limited to 'drivers/rtc/rtc-stmp3xxx.c')
| -rw-r--r-- | drivers/rtc/rtc-stmp3xxx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-stmp3xxx.c b/drivers/rtc/rtc-stmp3xxx.c index 739ef55694f4..b2a8ed99b2bf 100644 --- a/drivers/rtc/rtc-stmp3xxx.c +++ b/drivers/rtc/rtc-stmp3xxx.c | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #include <linux/rtc.h> | 26 | #include <linux/rtc.h> |
| 27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
| 28 | #include <linux/of_device.h> | 28 | #include <linux/of_device.h> |
| 29 | #include <linux/of.h> | ||
| 29 | 30 | ||
| 30 | #include <mach/common.h> | 31 | #include <mach/common.h> |
| 31 | 32 | ||
| @@ -280,7 +281,7 @@ static struct platform_driver stmp3xxx_rtcdrv = { | |||
| 280 | .driver = { | 281 | .driver = { |
| 281 | .name = "stmp3xxx-rtc", | 282 | .name = "stmp3xxx-rtc", |
| 282 | .owner = THIS_MODULE, | 283 | .owner = THIS_MODULE, |
| 283 | .of_match_table = rtc_dt_ids, | 284 | .of_match_table = of_match_ptr(rtc_dt_ids), |
| 284 | }, | 285 | }, |
| 285 | }; | 286 | }; |
| 286 | 287 | ||
