From: Masahiro Yamada Date: Wed, 26 Nov 2014 07:02:54 +0000 (+0900) Subject: blackfin: include rather than define __iomem X-Git-Tag: v2015.01-rc3~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b923a56dc0eb9f1ce9d616ae93bd0f63857f315;p=u-boot blackfin: include 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 Cc: Sonic Zhang --- diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index 69f08bc7ef..aadb0d2d4e 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h @@ -11,10 +11,9 @@ #ifdef __KERNEL__ +#include #include -#define __iomem - static inline void sync(void) { SSYNC(); diff --git a/drivers/block/pata_bfin.h b/drivers/block/pata_bfin.h index 2093cf06b4..b678f60b2d 100644 --- a/drivers/block/pata_bfin.h +++ b/drivers/block/pata_bfin.h @@ -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