diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-28 11:04:54 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-28 11:04:54 -0500 |
commit | 05678a96de2e97fdfd4b817478840ad6a02ea1d8 (patch) | |
tree | 2e8aa14e2992a29e69b820f5c2542d91d9975166 /drivers/net | |
parent | 6de2c31d3dad7384b3efa03674bd6ed479d58cb2 (diff) |
[ARM] pxa: avoid polluting the kernel's namespace
Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h. Include this header file where necessary.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 1 | ||||
-rw-r--r-- | drivers/net/smc91x.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index c5b02b66f756..50b839da140e 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/dma.h> | 25 | #include <asm/dma.h> |
26 | #include <mach/irda.h> | 26 | #include <mach/irda.h> |
27 | #include <mach/hardware.h> | ||
27 | #include <mach/pxa-regs.h> | 28 | #include <mach/pxa-regs.h> |
28 | 29 | ||
29 | #define IrSR_RXPL_NEG_IS_ZERO (1<<4) | 30 | #define IrSR_RXPL_NEG_IS_ZERO (1<<4) |
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index a07cc9351c6b..22576e0a6d18 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h | |||
@@ -528,6 +528,7 @@ struct smc_local { | |||
528 | */ | 528 | */ |
529 | #include <linux/dma-mapping.h> | 529 | #include <linux/dma-mapping.h> |
530 | #include <asm/dma.h> | 530 | #include <asm/dma.h> |
531 | #include <mach/hardware.h> | ||
531 | #include <mach/pxa-regs.h> | 532 | #include <mach/pxa-regs.h> |
532 | 533 | ||
533 | #ifdef SMC_insl | 534 | #ifdef SMC_insl |