提交 8b923a56 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sonic Zhang <sonic.adi@gmail.com>
上级 063ec38a
......@@ -11,10 +11,9 @@
#ifdef __KERNEL__
#include <linux/compiler.h>
#include <asm/blackfin.h>
#define __iomem
static inline void sync(void)
{
SSYNC();
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册