diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-pl031.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-sa1100.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-sysfs.c | 5 |
4 files changed, 5 insertions, 6 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 6420a90a4a92..cbde770eb121 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -240,7 +240,7 @@ config RTC_DRV_TWL92330 | |||
240 | depends on MENELAUS | 240 | depends on MENELAUS |
241 | help | 241 | help |
242 | If you say yes here you get support for the RTC on the | 242 | If you say yes here you get support for the RTC on the |
243 | TWL92330 "Menelaus" power mangement chip, used with OMAP2 | 243 | TWL92330 "Menelaus" power management chip, used with OMAP2 |
244 | platforms. The support is integrated with the rest of | 244 | platforms. The support is integrated with the rest of |
245 | the Menelaus driver; it's not separate module. | 245 | the Menelaus driver; it's not separate module. |
246 | 246 | ||
diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c index e4bf68ca96f7..2fd49edcc712 100644 --- a/drivers/rtc/rtc-pl031.c +++ b/drivers/rtc/rtc-pl031.c | |||
@@ -21,11 +21,11 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <linux/pm.h> | 23 | #include <linux/pm.h> |
24 | #include <linux/bitops.h> | ||
24 | 25 | ||
25 | #include <linux/amba/bus.h> | 26 | #include <linux/amba/bus.h> |
26 | 27 | ||
27 | #include <asm/io.h> | 28 | #include <asm/io.h> |
28 | #include <asm/bitops.h> | ||
29 | #include <asm/hardware.h> | 29 | #include <asm/hardware.h> |
30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
31 | #include <asm/rtc.h> | 31 | #include <asm/rtc.h> |
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index 0918b787c4dd..6f1e9a9804bc 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c | |||
@@ -29,8 +29,8 @@ | |||
29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
30 | #include <linux/string.h> | 30 | #include <linux/string.h> |
31 | #include <linux/pm.h> | 31 | #include <linux/pm.h> |
32 | #include <linux/bitops.h> | ||
32 | 33 | ||
33 | #include <asm/bitops.h> | ||
34 | #include <asm/hardware.h> | 34 | #include <asm/hardware.h> |
35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
36 | #include <asm/rtc.h> | 36 | #include <asm/rtc.h> |
diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/rtc-sysfs.c index 6cad0841f3c4..2ae0e8304d3a 100644 --- a/drivers/rtc/rtc-sysfs.c +++ b/drivers/rtc/rtc-sysfs.c | |||
@@ -200,9 +200,8 @@ void rtc_sysfs_add_device(struct rtc_device *rtc) | |||
200 | 200 | ||
201 | err = device_create_file(&rtc->dev, &dev_attr_wakealarm); | 201 | err = device_create_file(&rtc->dev, &dev_attr_wakealarm); |
202 | if (err) | 202 | if (err) |
203 | dev_err(rtc->dev.parent, "failed to create " | 203 | dev_err(rtc->dev.parent, |
204 | "alarm attribute, %d", | 204 | "failed to create alarm attribute, %d\n", err); |
205 | err); | ||
206 | } | 205 | } |
207 | 206 | ||
208 | void rtc_sysfs_del_device(struct rtc_device *rtc) | 207 | void rtc_sysfs_del_device(struct rtc_device *rtc) |