Commit 5742964e authored by Eric Miao's avatar Eric Miao

[ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h

pxa-regs.h and hardware.h are not intended for use directly in driver
code, remove those unnecessary references.
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent 290a5589
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <asm/mach/pci.h> #include <asm/mach/pci.h>
#include <mach/pxa-regs.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/hardware/it8152.h> #include <asm/hardware/it8152.h>
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <mach/mfp-pxa25x.h> #include <mach/mfp-pxa25x.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include "generic.h" #include "generic.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <linux/pwm.h> #include <linux/pwm.h>
#include <asm/div64.h> #include <asm/div64.h>
#include <mach/pxa-regs.h>
/* PWM registers and bits definitions */ /* PWM registers and bits definitions */
#define PWMCR (0x00) #define PWMCR (0x00)
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ssp.h> #include <mach/ssp.h>
#include <mach/pxa-regs.h>
#include <mach/regs-ssp.h> #include <mach/regs-ssp.h>
#define TIMEOUT 100000 #define TIMEOUT 100000
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/corgi.h> #include <mach/corgi.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-gpio.h> #include <mach/pxa2xx-gpio.h>
#include <asm/hardware/scoop.h> #include <asm/hardware/scoop.h>
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/spitz.h> #include <mach/spitz.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-gpio.h> #include <mach/pxa2xx-gpio.h>
#define KB_ROWS 7 #define KB_ROWS 7
......
...@@ -226,8 +226,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, ...@@ -226,8 +226,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
* Use a DMA for RX and TX packets. * Use a DMA for RX and TX packets.
*/ */
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <asm/dma.h> #include <mach/dma.h>
#include <mach/pxa-regs.h>
static dma_addr_t rx_dmabuf, tx_dmabuf; static dma_addr_t rx_dmabuf, tx_dmabuf;
static int rx_dmalen, tx_dmalen; static int rx_dmalen, tx_dmalen;
......
...@@ -494,8 +494,6 @@ struct smc_local { ...@@ -494,8 +494,6 @@ struct smc_local {
*/ */
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <mach/dma.h> #include <mach/dma.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#ifdef SMC_insl #ifdef SMC_insl
#undef SMC_insl #undef SMC_insl
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/system.h> #include <asm/system.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h> #include <mach/pxa2xx-regs.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include "soc_common.h" #include "soc_common.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include "soc_common.h" #include "soc_common.h"
......
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/eseries-gpio.h> #include <mach/eseries-gpio.h>
#include <asm/irq.h> #include <asm/irq.h>
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <asm/hardware/sa1111.h> #include <asm/hardware/sa1111.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include <mach/lubbock.h> #include <mach/lubbock.h>
#include "sa1111_generic.h" #include "sa1111_generic.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/pxa-regs.h>
#include <mach/viper.h> #include <mach/viper.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
......
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/div64.h> #include <asm/div64.h>
#include <mach/pxa-regs.h>
#include <mach/bitfield.h> #include <mach/bitfield.h>
#include <mach/pxafb.h> #include <mach/pxafb.h>
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <sound/pxa2xx-lib.h> #include <sound/pxa2xx-lib.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/hardware.h>
#include <mach/regs-ac97.h> #include <mach/regs-ac97.h>
#include <mach/pxa2xx-gpio.h> #include <mach/pxa2xx-gpio.h>
#include <mach/audio.h> #include <mach/audio.h>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#include <sound/initval.h> #include <sound/initval.h>
#include <sound/pxa2xx-lib.h> #include <sound/pxa2xx-lib.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/regs-ac97.h> #include <mach/regs-ac97.h>
#include <mach/audio.h> #include <mach/audio.h>
......
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/pxa2xx-lib.h> #include <sound/pxa2xx-lib.h>
#include <asm/dma.h> #include <mach/dma.h>
#include <mach/pxa-regs.h>
#include "pxa2xx-pcm.h" #include "pxa2xx-pcm.h"
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include <sound/soc-dapm.h> #include <sound/soc-dapm.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/corgi.h> #include <mach/corgi.h>
#include <mach/audio.h> #include <mach/audio.h>
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <sound/soc-dapm.h> #include <sound/soc-dapm.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/audio.h> #include <mach/audio.h>
#include "../codecs/wm9712.h" #include "../codecs/wm9712.h"
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
#include <sound/soc-dapm.h> #include <sound/soc-dapm.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/audio.h> #include <mach/audio.h>
#include "../codecs/wm9712.h" #include "../codecs/wm9712.h"
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/hardware/locomo.h> #include <asm/hardware/locomo.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/poodle.h> #include <mach/poodle.h>
#include <mach/audio.h> #include <mach/audio.h>
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <sound/soc-dapm.h> #include <sound/soc-dapm.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/spitz.h> #include <mach/spitz.h>
#include "../codecs/wm8750.h" #include "../codecs/wm8750.h"
#include "pxa2xx-pcm.h" #include "pxa2xx-pcm.h"
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/tosa.h> #include <mach/tosa.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/audio.h> #include <mach/audio.h>
#include "../codecs/wm9712.h" #include "../codecs/wm9712.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment