]> git.sur5r.net Git - u-boot/commitdiff
blackfin: include <linux/compiler.h> rather than define __iomem
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Nov 2014 07:02:54 +0000 (16:02 +0900)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:46 +0000 (09:35 -0500)
The macro __iomem is defined in include/linux/compiler.h.
Let's include it rather than double __iomem defines.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sonic Zhang <sonic.adi@gmail.com>
arch/blackfin/include/asm/io.h
drivers/block/pata_bfin.h

index 69f08bc7efb526a85f3edeab3a184944d178cb72..aadb0d2d4ee42ac3a7e494e14670697c006854de 100644 (file)
 
 #ifdef __KERNEL__
 
+#include <linux/compiler.h>
 #include <asm/blackfin.h>
 
-#define __iomem
-
 static inline void sync(void)
 {
        SSYNC();
index 2093cf06b4bbda0a3693982499933563e1fc0156..b678f60b2d763df43cf5152215210ebd7b9213b9 100644 (file)
@@ -43,7 +43,6 @@ struct ata_port {
 
 #define DRV_NAME               "pata-bfin"
 #define DRV_VERSION            "0.9"
-#define __iomem
 
 #define ATA_REG_CTRL           0x0E
 #define ATA_REG_ALTSTATUS      ATA_REG_CTRL