Skip to content

Commit

Permalink
ARM: iop13xx: move io.h externs to pci.h
Browse files Browse the repository at this point in the history
These variables are just needed in pci.c and io.c, so move them out of
io.h in preparation to remove io.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
  • Loading branch information
Rob Herring committed Mar 7, 2012
1 parent 21a5365 commit 17d971e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm/mach-iop13xx/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,5 @@
#define __mem_isa(a) (a)

extern void __iomem * __iop13xx_io(unsigned long io_addr);
extern u32 iop13xx_atue_mem_base;
extern u32 iop13xx_atux_mem_base;
extern size_t iop13xx_atue_mem_size;
extern size_t iop13xx_atux_mem_size;

#endif
2 changes: 2 additions & 0 deletions arch/arm/mach-iop13xx/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <linux/io.h>
#include <mach/hardware.h>

#include "pci.h"

void * __iomem __iop13xx_io(unsigned long io_addr)
{
void __iomem * io_virt;
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/mach-iop13xx/pci.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <linux/types.h>

extern u32 iop13xx_atue_mem_base;
extern u32 iop13xx_atux_mem_base;
extern size_t iop13xx_atue_mem_size;
extern size_t iop13xx_atux_mem_size;

0 comments on commit 17d971e

Please sign in to comment.