linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c
@ 2011-03-14 13:55 Manjunath Hadli
  2011-03-14 16:02 ` Hadli, Manjunath
  0 siblings, 1 reply; 2+ messages in thread
From: Manjunath Hadli @ 2011-03-14 13:55 UTC (permalink / raw)
  To: linux-arm-kernel

Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h
to devices.c since it is used only there.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
---
 arch/arm/mach-davinci/devices.c               |    1 +
 arch/arm/mach-davinci/include/mach/hardware.h |    3 ---
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c
index 22ebc64..d3b2040 100644
--- a/arch/arm/mach-davinci/devices.c
+++ b/arch/arm/mach-davinci/devices.c
@@ -182,6 +182,7 @@ static struct platform_device davinci_mmcsd1_device = {
 	.resource = mmcsd1_resources,
 };
 
+#define DM64XX_VDD3P3V_PWDN     0x48
 
 void __init davinci_setup_mmc(int module, struct davinci_mmc_config *config)
 {
diff --git a/arch/arm/mach-davinci/include/mach/hardware.h b/arch/arm/mach-davinci/include/mach/hardware.h
index c45ba1f..414e0b9 100644
--- a/arch/arm/mach-davinci/include/mach/hardware.h
+++ b/arch/arm/mach-davinci/include/mach/hardware.h
@@ -21,9 +21,6 @@
  */
 #define DAVINCI_SYSTEM_MODULE_BASE        0x01C40000
 
-/* System control register offsets */
-#define DM64XX_VDD3P3V_PWDN	0x48
-
 /*
  * I/O mapping
  */
-- 
1.6.2.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c
  2011-03-14 13:55 [PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c Manjunath Hadli
@ 2011-03-14 16:02 ` Hadli, Manjunath
  0 siblings, 0 replies; 2+ messages in thread
From: Hadli, Manjunath @ 2011-03-14 16:02 UTC (permalink / raw)
  To: linux-arm-kernel

Please ignore this platform patch series. I will repost it with the core driver patch series as well.

Thx,
-Manju


On Mon, Mar 14, 2011 at 19:25:18, Hadli, Manjunath wrote:
> Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h to devices.c since it is used only there.
> 
> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
> ---
>  arch/arm/mach-davinci/devices.c               |    1 +
>  arch/arm/mach-davinci/include/mach/hardware.h |    3 ---
>  2 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 22ebc64..d3b2040 100644
> --- a/arch/arm/mach-davinci/devices.c
> +++ b/arch/arm/mach-davinci/devices.c
> @@ -182,6 +182,7 @@ static struct platform_device davinci_mmcsd1_device = {
>  	.resource = mmcsd1_resources,
>  };
>  
> +#define DM64XX_VDD3P3V_PWDN     0x48
>  
>  void __init davinci_setup_mmc(int module, struct davinci_mmc_config *config)  { diff --git a/arch/arm/mach-davinci/include/mach/hardware.h b/arch/arm/mach-davinci/include/mach/hardware.h
> index c45ba1f..414e0b9 100644
> --- a/arch/arm/mach-davinci/include/mach/hardware.h
> +++ b/arch/arm/mach-davinci/include/mach/hardware.h
> @@ -21,9 +21,6 @@
>   */
>  #define DAVINCI_SYSTEM_MODULE_BASE        0x01C40000
>  
> -/* System control register offsets */
> -#define DM64XX_VDD3P3V_PWDN	0x48
> -
>  /*
>   * I/O mapping
>   */
> --
> 1.6.2.4
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-14 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 13:55 [PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c Manjunath Hadli
2011-03-14 16:02 ` Hadli, Manjunath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).