]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-at91/hardware.h
[ARM] 4369/1: AT91: Fix circular dependency in header files
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-at91 / hardware.h
index 28133e0154dd880fd0af57c9080663649adaf0ce..1c14382dc3f52c5cbada40dcc2c378a7e1f703e3 100644 (file)
 /* Clocks */
 #define AT91_SLOW_CLOCK                32768           /* slow clock */
 
-#ifndef __ASSEMBLY__
-#include <asm/io.h>
-
-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