diff mbox

[v2,1/2] rtc: Kconfig: Place RTC_DRV_IMXDI and RTC_MXC under "on-CPU RTC drivers"

Message ID 1323693187-3466-1-git-send-email-fabio.estevam@freescale.com
State Superseded
Headers show

Commit Message

Fabio Estevam Dec. 12, 2011, 12:33 p.m. UTC
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>
---
Changes since v1:
- No changes. Only introduced a new patch in the series
for renaming RTC_MXC to RTC_DRV_MXC 

 drivers/rtc/Kconfig |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

Comments

Wolfram Sang Dec. 12, 2011, 12:48 p.m. UTC | #1
On Mon, Dec 12, 2011 at 10:33:06AM -0200, Fabio Estevam wrote:
> 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>
Fabio Estevam Jan. 4, 2012, 4:20 p.m. UTC | #2
On 12/12/2011 10:48 AM, Wolfram Sang wrote:
> On Mon, Dec 12, 2011 at 10:33:06AM -0200, Fabio Estevam wrote:
>> 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>
> 

Alessandro, ping?
diff mbox

Patch

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 53eb4e5..fdc32ba 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -613,27 +613,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
@@ -731,6 +710,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
@@ -1070,4 +1059,15 @@  config RTC_DRV_PUV3
 	  This drive can also be built as a module. If so, the module
 	  will be called rtc-puv3.
 
+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