davinci: move DM64XX_VDD3P3V_PWDN to devices.c
authorManjunath Hadli <manjunath.hadli@ti.com>
Mon, 23 May 2011 15:35:48 +0000 (21:05 +0530)
committerSekhar Nori <nsekhar@ti.com>
Mon, 23 May 2011 16:48:26 +0000 (22:18 +0530)
Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h
to devices.c since it is used only there.

This also helps rid hardware.h of platform private stuff.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/devices.c
arch/arm/mach-davinci/include/mach/hardware.h

index 22ebc64bc9d99a5bd71a52f801f3903a6f5b04d9..8f4f736aa267104455fdf2f1502e467e63bd9aad 100644 (file)
@@ -33,6 +33,9 @@
 #define DM365_MMCSD0_BASE           0x01D11000
 #define DM365_MMCSD1_BASE           0x01D00000
 
+/* System control register offsets */
+#define DM64XX_VDD3P3V_PWDN    0x48
+
 static struct resource i2c_resources[] = {
        {
                .start          = DAVINCI_I2C_BASE,
index c45ba1f62a11a3b32d70b44e291a1f0bc8b98764..414e0b93e741f5a8bd1ce8c76b88ebf5ca8a6bcd 100644 (file)
@@ -21,9 +21,6 @@
  */
 #define DAVINCI_SYSTEM_MODULE_BASE        0x01C40000
 
-/* System control register offsets */
-#define DM64XX_VDD3P3V_PWDN    0x48
-
 /*
  * I/O mapping
  */