浏览代码

[ARM] 4767/2: ixp4xx: Add bitops.h include to io.h

Add include of <linux/bitops.h> to io.h to solve compilations errors in
files such as drivers/w1/w1_io.c caused by the ixp4xx version of io.h
using the BIT() macro without including <linux/bitops.h> first.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Rod Whitby 17 年之前
父节点
当前提交
8e93675e5b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-arm/arch-ixp4xx/io.h

+ 2 - 0
include/asm-arm/arch-ixp4xx/io.h

@@ -13,6 +13,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <linux/bitops.h>
+
 #include <asm/hardware.h>
 
 #define IO_SPACE_LIMIT 0xffff0000