summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/io.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-03-04 22:00:46 -0600
committerRob Herring <rob.herring@calxeda.com>2012-03-04 22:00:46 -0600
commitd50673ed97a7ce609cf62bcd40c57517ada31806 (patch)
treede1464fe1a4126be6b34762015afb8ad8a90a2f0 /arch/arm/mach-at91/include/mach/io.h
parentab15e0e80c02b8b9f3392a6173b9109348eed1c3 (diff)
parent7eca30aef7961e68ad74c0ef920546c2be7f6579 (diff)
downloadop-kernel-dev-d50673ed97a7ce609cf62bcd40c57517ada31806.zip
op-kernel-dev-d50673ed97a7ce609cf62bcd40c57517ada31806.tar.gz
Merge remote-tracking branch 'arm-soc/at91/base2+cleanup' into cleanup-base
Diffstat (limited to 'arch/arm/mach-at91/include/mach/io.h')
-rw-r--r--arch/arm/mach-at91/include/mach/io.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-at91/include/mach/io.h b/arch/arm/mach-at91/include/mach/io.h
index 4ca09ef..4003001 100644
--- a/arch/arm/mach-at91/include/mach/io.h
+++ b/arch/arm/mach-at91/include/mach/io.h
@@ -28,22 +28,4 @@
#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)
-#ifndef __ASSEMBLY__
-
-static inline unsigned int at91_sys_read(unsigned int reg_offset)
-{
- void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;
-
- return __raw_readl(addr + reg_offset);
-}
-
-static inline void at91_sys_write(unsigned int reg_offset, unsigned long value)
-{
- void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;
-
- __raw_writel(value, addr + reg_offset);
-}
-
-#endif
-
#endif
OpenPOWER on IntegriCloud