Skip to content

Commit

Permalink
ARM: msm: clean-up mach/io.h
Browse files Browse the repository at this point in the history
Move msm specifics in mach/io.h to respective msm_iomap-*.h headers.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
  • Loading branch information
Rob Herring committed Mar 7, 2012
1 parent 17d971e commit 68a7f1f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-msm/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,4 @@
#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)

void msm_map_qsd8x50_io(void);
void msm_map_msm7x30_io(void);
void msm_map_msm8x60_io(void);
void msm_map_msm8960_io(void);

extern unsigned int msm_shared_ram_phys;

#endif
4 changes: 4 additions & 0 deletions arch/arm/mach-msm/include/mach/msm_iomap-7x30.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,8 @@
#define MSM_HSUSB_PHYS 0xA3600000
#define MSM_HSUSB_SIZE SZ_1K

#ifndef __ASSEMBLY__
extern void msm_map_msm7x30_io(void);
#endif

#endif
4 changes: 4 additions & 0 deletions arch/arm/mach-msm/include/mach/msm_iomap-8960.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@
#define MSM_DEBUG_UART_PHYS 0x16440000
#endif

#ifndef __ASSEMBLY__
extern void msm_map_msm8960_io(void);
#endif

#endif
4 changes: 4 additions & 0 deletions arch/arm/mach-msm/include/mach/msm_iomap-8x50.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,8 @@
#define MSM_SDC4_PHYS 0xA0600000
#define MSM_SDC4_SIZE SZ_4K

#ifndef __ASSEMBLY__
extern void msm_map_qsd8x50_io(void);
#endif

#endif
4 changes: 4 additions & 0 deletions arch/arm/mach-msm/include/mach/msm_iomap-8x60.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@
#define MSM_DEBUG_UART_PHYS 0x19C40000
#endif

#ifndef __ASSEMBLY__
extern void msm_map_msm8x60_io(void);
#endif

#endif

0 comments on commit 68a7f1f

Please sign in to comment.