]> err.no Git - linux-2.6/commitdiff
[ARM] 4767/2: ixp4xx: Add bitops.h include to io.h
authorRod Whitby <rod@whitby.id.au>
Mon, 28 Jan 2008 23:22:57 +0000 (00:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 13:15:23 +0000 (13:15 +0000)
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>
include/asm-arm/arch-ixp4xx/io.h

index 9c5d2357aff3ac4689ae36747022f76cb2d6081a..de181ce958db86d23f4749e23ea2b0a8d4b43fb4 100644 (file)
@@ -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