Skip to content

Commit

Permalink
davinci: move DM64XX_VDD3P3V_PWDN to devices.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manjunath Hadli authored and Sekhar Nori committed May 23, 2011
1 parent 8ac764e commit 1a717c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-davinci/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-davinci/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
*/
#define DAVINCI_SYSTEM_MODULE_BASE 0x01C40000

/* System control register offsets */
#define DM64XX_VDD3P3V_PWDN 0x48

/*
* I/O mapping
*/
Expand Down

0 comments on commit 1a717c0

Please sign in to comment.