Skip to content

Commit

Permalink
[ARM] 4767/2: ixp4xx: Add bitops.h include to io.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rod Whitby authored and Russell King committed Feb 4, 2008
1 parent 95053ae commit 8e93675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-arm/arch-ixp4xx/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e93675

Please sign in to comment.