Skip to content

Commit

Permalink
[ARM] ixp23xx: mach/io.h doesn't need BUG() anymore
Browse files Browse the repository at this point in the history
ixp23xx's mach/io.h claims to need linux/kernel.h for BUG().
However, this header doesn't make use of BUG().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 28, 2008
1 parent 6ae8595 commit 32643fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-ixp23xx/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#define __io(p) ((void __iomem*)((p) + IXP23XX_PCI_IO_VIRT))
#define __mem_pci(a) (a)

#include <linux/kernel.h> /* For BUG */

static inline void __iomem *
ixp23xx_ioremap(unsigned long addr, unsigned long size, unsigned int mtype)
{
Expand Down

0 comments on commit 32643fe

Please sign in to comment.