Commit 8b923a56dc0eb9f1ce9d616ae93bd0f63857f315

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 063ec38a75

blackfin: include <linux/compiler.h> rather than define __iomem

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>

Showing 2 changed files with 1 additions and 3 deletions Side-by-side Diff

arch/blackfin/include/asm/io.h
... ... @@ -11,9 +11,8 @@
11 11  
12 12 #ifdef __KERNEL__
13 13  
  14 +#include <linux/compiler.h>
14 15 #include <asm/blackfin.h>
15   -
16   -#define __iomem
17 16  
18 17 static inline void sync(void)
19 18 {
drivers/block/pata_bfin.h
... ... @@ -43,7 +43,6 @@
43 43  
44 44 #define DRV_NAME "pata-bfin"
45 45 #define DRV_VERSION "0.9"
46   -#define __iomem
47 46  
48 47 #define ATA_REG_CTRL 0x0E
49 48 #define ATA_REG_ALTSTATUS ATA_REG_CTRL