diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
commit | 851462444d421c223965b12b836bef63da61b57f (patch) | |
tree | 495baa14e638817941496c36e1443aed7dae0ea0 /drivers/rtc | |
parent | 5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc (diff) | |
parent | 6924d99fcdf1a688538a3cdebd1f135c22eec191 (diff) |
Merge branch 'for-3.7' of git://git.infradead.org/users/dedekind/l2-mtd
Conflicts:
drivers/mtd/nand/nand_base.c
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-imxdi.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index e069f176a82d..19c03ab2bdcb 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -59,6 +59,7 @@ comment "RTC interfaces" | |||
59 | config RTC_INTF_SYSFS | 59 | config RTC_INTF_SYSFS |
60 | boolean "/sys/class/rtc/rtcN (sysfs)" | 60 | boolean "/sys/class/rtc/rtcN (sysfs)" |
61 | depends on SYSFS | 61 | depends on SYSFS |
62 | default RTC_CLASS | ||
62 | help | 63 | help |
63 | Say yes here if you want to use your RTCs using sysfs interfaces, | 64 | Say yes here if you want to use your RTCs using sysfs interfaces, |
64 | /sys/class/rtc/rtc0 through /sys/.../rtcN. | 65 | /sys/class/rtc/rtc0 through /sys/.../rtcN. |
@@ -68,6 +69,7 @@ config RTC_INTF_SYSFS | |||
68 | config RTC_INTF_PROC | 69 | config RTC_INTF_PROC |
69 | boolean "/proc/driver/rtc (procfs for rtcN)" | 70 | boolean "/proc/driver/rtc (procfs for rtcN)" |
70 | depends on PROC_FS | 71 | depends on PROC_FS |
72 | default RTC_CLASS | ||
71 | help | 73 | help |
72 | Say yes here if you want to use your system clock RTC through | 74 | Say yes here if you want to use your system clock RTC through |
73 | the proc interface, /proc/driver/rtc. | 75 | the proc interface, /proc/driver/rtc. |
@@ -79,6 +81,7 @@ config RTC_INTF_PROC | |||
79 | 81 | ||
80 | config RTC_INTF_DEV | 82 | config RTC_INTF_DEV |
81 | boolean "/dev/rtcN (character devices)" | 83 | boolean "/dev/rtcN (character devices)" |
84 | default RTC_CLASS | ||
82 | help | 85 | help |
83 | Say yes here if you want to use your RTCs using the /dev | 86 | Say yes here if you want to use your RTCs using the /dev |
84 | interfaces, which "udev" sets up as /dev/rtc0 through | 87 | interfaces, which "udev" sets up as /dev/rtc0 through |
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 891cd6c61d0a..4eed51044c5d 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c | |||
@@ -392,6 +392,8 @@ static int dryice_rtc_probe(struct platform_device *pdev) | |||
392 | if (imxdi->ioaddr == NULL) | 392 | if (imxdi->ioaddr == NULL) |
393 | return -ENOMEM; | 393 | return -ENOMEM; |
394 | 394 | ||
395 | spin_lock_init(&imxdi->irq_lock); | ||
396 | |||
395 | imxdi->irq = platform_get_irq(pdev, 0); | 397 | imxdi->irq = platform_get_irq(pdev, 0); |
396 | if (imxdi->irq < 0) | 398 | if (imxdi->irq < 0) |
397 | return imxdi->irq; | 399 | return imxdi->irq; |