]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/Kconfig: place RTC_DRV_IMXDI and RTC_MXC under "on-CPU RTC drivers"
authorFabio Estevam <festevam@gmail.com>
Thu, 3 May 2012 05:44:33 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:52 +0000 (15:46 +1000)
RTC_DRV_IMXDI and RTC_MXC are on-chip RTC modules, so move them under
"on-CPU RTC drivers" selection menu.

While at it change the dependency of RTC_DRV_IMXDI from ARCH_MX25 to
SOC_IMX25.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/Kconfig

index 4161bfe462cd5f958c1f1d790bd9ef795df8b530..83fb48fa7cf4f22a58833ba49f4ed752a75014a9 100644 (file)
@@ -620,27 +620,6 @@ config RTC_DRV_MSM6242
          This driver can also be built as a module. If so, the module
          will be called rtc-msm6242.
 
-config RTC_DRV_IMXDI
-       tristate "Freescale IMX DryIce Real Time Clock"
-       depends on ARCH_MX25
-       depends on RTC_CLASS
-       help
-          Support for Freescale IMX DryIce RTC
-
-          This driver can also be built as a module, if so, the module
-          will be called "rtc-imxdi".
-
-config RTC_MXC
-       tristate "Freescale MXC Real Time Clock"
-       depends on ARCH_MXC
-       depends on RTC_CLASS
-       help
-          If you say yes here you get support for the Freescale MXC
-          RTC module.
-
-          This driver can also be built as a module, if so, the module
-          will be called "rtc-mxc".
-
 config RTC_DRV_BQ4802
        tristate "TI BQ4802"
        help
@@ -738,6 +717,16 @@ config RTC_DRV_DAVINCI
          This driver can also be built as a module. If so, the module
          will be called rtc-davinci.
 
+config RTC_DRV_IMXDI
+       tristate "Freescale IMX DryIce Real Time Clock"
+       depends on SOC_IMX25
+       depends on RTC_CLASS
+       help
+          Support for Freescale IMX DryIce RTC
+
+          This driver can also be built as a module, if so, the module
+          will be called "rtc-imxdi".
+
 config RTC_DRV_OMAP
        tristate "TI OMAP1"
        depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
@@ -1087,4 +1076,15 @@ config RTC_DRV_LOONGSON1
          This driver can also be built as a module. If so, the module
          will be called rtc-ls1x.
 
+config RTC_MXC
+       tristate "Freescale MXC Real Time Clock"
+       depends on ARCH_MXC
+       depends on RTC_CLASS
+       help
+          If you say yes here you get support for the Freescale MXC
+          RTC module.
+
+          This driver can also be built as a module, if so, the module
+          will be called "rtc-mxc".
+
 endif # RTC_CLASS