@@ -10,7 +10,7 @@
#include <linux/init.h>
#include <linux/mutex.h>
-#include <mach/hardware.h>
+#include <mach-footbridge/hardware.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <asm/therm.h>
@@ -23,7 +23,7 @@
#include <linux/hw_random.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-ixp4xx/hardware.h>
static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer)
@@ -13,7 +13,7 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/mfd/dbx500-prcmu.h>
-#include <mach/id.h>
+#include <mach-ux500/id.h>
static struct cpufreq_frequency_table freq_table[] = {
[0] = {
@@ -18,7 +18,7 @@
#include <linux/cpufreq.h>
#include <linux/suspend.h>
-#include <mach/cpufreq.h>
+#include <mach-exynos/cpufreq.h>
#include <plat-samsung/cpu.h>
@@ -17,8 +17,8 @@
#include <linux/slab.h>
#include <linux/cpufreq.h>
-#include <mach/regs-clock.h>
-#include <mach/cpufreq.h>
+#include <mach-exynos/regs-clock.h>
+#include <mach-exynos/cpufreq.h>
#define CPUFREQ_LEVEL_END L5
@@ -17,8 +17,8 @@
#include <linux/slab.h>
#include <linux/cpufreq.h>
-#include <mach/regs-clock.h>
-#include <mach/cpufreq.h>
+#include <mach-exynos/regs-clock.h>
+#include <mach-exynos/cpufreq.h>
#define CPUFREQ_LEVEL_END (L13 + 1)
@@ -17,9 +17,9 @@
#include <linux/slab.h>
#include <linux/cpufreq.h>
-#include <mach/map.h>
-#include <mach/regs-clock.h>
-#include <mach/cpufreq.h>
+#include <mach-exynos/map.h>
+#include <mach-exynos/regs-clock.h>
+#include <mach-exynos/cpufreq.h>
#define CPUFREQ_LEVEL_END (L15 + 1)
@@ -35,7 +35,7 @@
#include <plat-omap/common.h>
#include <plat-omap/omap_device.h>
-#include <mach/hardware.h>
+#include <mach-omap2/hardware.h>
/* OPP tolerance in percentage */
#define OPP_TOLERANCE 4
@@ -20,7 +20,7 @@
#include <linux/regulator/consumer.h>
#include <linux/suspend.h>
-#include <mach/map.h>
+#include <mach-s5pv210/map.h>
#include <mach/regs-clock.h>
static struct clk *cpu_clk;
@@ -39,7 +39,7 @@
#include <plat-omap/cpu.h>
#include <plat-omap/dma.h>
-#include <mach/irqs.h>
+#include <mach-omap2/irqs.h>
#define SHA_REG_DIGEST(x) (0x00 + ((x) * 0x04))
#define SHA_REG_DIN(x) (0x1C + ((x) * 0x04))
@@ -41,7 +41,7 @@
#include <linux/completion.h>
#include <linux/workqueue.h>
-#include <mach/clk.h>
+#include <mach-tegra/clk.h>
#include <crypto/scatterwalk.h>
#include <crypto/aes.h>
@@ -30,7 +30,7 @@
extern unsigned int exynos_result_of_asv;
#endif
-#include <mach/regs-clock.h>
+#include <mach-exynos/regs-clock.h>
#include <plat-samsung/map-s5p.h>
@@ -26,7 +26,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <mach/dma.h>
+#include <mach-ep93xx/dma.h>
#include "dmaengine.h"
@@ -28,8 +28,8 @@
#include <linux/module.h>
#include <asm/irq.h>
-#include <mach/dma.h>
-#include <mach/hardware.h>
+#include <mach-imx/dma.h>
+#include <mach-imx/hardware.h>
#include "dmaengine.h"
#define IMXDMA_MAX_CHAN_DESCRIPTORS 16
@@ -26,9 +26,9 @@
#include <linux/of_device.h>
#include <linux/irqdomain.h>
-#include <mach/hardware.h>
+#include <plat-omap/hardware.h>
#include <asm/irq.h>
-#include <mach/irqs.h>
+#include <plat-omap/irqs.h>
#include <asm/gpio.h>
#include <asm/mach/irq.h>
@@ -26,7 +26,13 @@
#include <linux/syscore_ops.h>
#include <linux/slab.h>
-#include <mach/irqs.h>
+#ifdef CONFIG_ARCH_PXA
+#include <mach-pxa/irqs.h>
+#endif
+
+#ifdef CONFIG_ARCH_MMP
+#include <mach-mmp/irqs.h>
+#endif
/*
* We handle the GPIOs by banks, each bank covers up to 32 GPIOs with
@@ -17,7 +17,7 @@
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
-#include <mach/hardware.h>
+#include <mach-rpc/hardware.h>
#include <asm/hardware/ioc.h>
#define FORCE_ONES 0xdc
@@ -39,8 +39,8 @@
#include <linux/cpufreq.h>
#include <linux/gpio.h>
-#include <mach/hardware.h>
-#include <mach/i2c.h>
+#include <mach-davinci/hardware.h>
+#include <mach-davinci/i2c.h>
/* ----- global defines ----------------------------------------------- */
@@ -53,8 +53,8 @@
#include <linux/of_i2c.h>
#include <linux/pinctrl/consumer.h>
-#include <mach/hardware.h>
-#include <mach/i2c.h>
+#include <mach-imx/hardware.h>
+#include <mach-imx/i2c.h>
/** Defines ********************************************************************
*******************************************************************************/
@@ -28,8 +28,8 @@
#include <linux/slab.h>
#include <linux/io.h>
-#include <mach/mfp.h>
-#include <mach/i2c.h>
+#include <mach-w90x900/mfp.h>
+#include <mach-w90x900/i2c.h>
/* nuc900 i2c registers offset */
@@ -31,7 +31,7 @@
#include <asm/unaligned.h>
-#include <mach/clk.h>
+#include <mach-tegra/clk.h>
#define TEGRA_I2C_TIMEOUT (msecs_to_jiffies(1000))
#define BYTES_PER_FIFO_WORD 4
@@ -20,7 +20,7 @@
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
-#include <mach/hardware.h>
+#include <mach-ixp4xx/hardware.h>
MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>");
MODULE_DESCRIPTION("ixp4xx beeper driver");
@@ -24,7 +24,7 @@
#include <linux/input.h>
#include <linux/io.h>
-#include <mach/hardware.h>
+#include <mach-rpc/hardware.h>
#include <asm/irq.h>
#include <asm/hardware/iomd.h>
@@ -36,7 +36,7 @@
#include <linux/io.h>
#include <linux/slab.h>
-#include <mach/hardware.h>
+#include <mach-rpc/hardware.h>
#include <asm/hardware/iomd.h>
MODULE_AUTHOR("Vojtech Pavlik, Russell King");
@@ -22,8 +22,8 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/io.h>
-#include <mach/board.h>
-#include <mach/cpu.h>
+#include <mach-at91/board.h>
+#include <mach-at91/cpu.h>
/* Register definitions based on AT91SAM9RL64 preliminary draft datasheet */
@@ -39,8 +39,8 @@
#include <linux/delay.h>
/* SA1100 serial defines */
-#include <mach/hardware.h>
-#include <mach/irqs.h>
+#include <mach-sa1100/hardware.h>
+#include <mach-sa1100/irqs.h>
#define DRIVER_DESC "H3600 touchscreen driver"
@@ -33,7 +33,7 @@
#include <linux/io.h>
#include <linux/gpio.h>
-#include <mach/regs-ac97.h>
+#include <mach-pxa/regs-ac97.h>
#include <asm/mach-types.h>
@@ -28,9 +28,9 @@
#include <linux/io.h>
#include <linux/wm97xx.h>
-#include <mach/hardware.h>
-#include <mach/mfp.h>
-#include <mach/regs-ac97.h>
+#include <mach-pxa/hardware.h>
+#include <mach-pxa/mfp.h>
+#include <mach-pxa/regs-ac97.h>
struct continuous {
u16 id; /* codec id */
@@ -20,7 +20,7 @@
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/module.h>
-#include <mach/hardware.h>
+#include <mach-ixp4xx/hardware.h>
#include <asm/io.h>
#define FSG_LED_WLAN_BIT 0
@@ -36,8 +36,8 @@
#include <linux/videodev2.h>
-#include <mach/dma.h>
-#include <mach/camera.h>
+#include <mach-pxa/dma.h>
+#include <mach-pxa/camera.h>
#define PXA_CAM_VERSION "0.0.6"
#define PXA_CAM_DRV_NAME "pxa27x-camera"
@@ -13,7 +13,7 @@
#ifndef __DB8500_PRCMU_REGS_H
#define __DB8500_PRCMU_REGS_H
-#include <mach/hardware.h>
+#include <mach-ux500/hardware.h>
#define BITS(_start, _end) ((BIT(_end) - BIT(_start)) + BIT(_end))
@@ -24,7 +24,7 @@
#include <linux/err.h>
#include <linux/io.h>
-#include <mach/platform.h>
+#include <mach-ep93xx/platform.h>
#define EP93XX_PWMx_TERM_COUNT 0x00
#define EP93XX_PWMx_DUTY_CYCLE 0x04
@@ -20,8 +20,8 @@
#include <linux/platform_device.h>
#include <linux/pci_regs.h>
#include <linux/configfs.h>
-#include <mach/pcie.h>
-#include <mach/misc_regs.h>
+#include <mach-spear13xx/pcie.h>
+#include <mach-spear13xx/misc_regs.h>
#define IN0_MEM_SIZE (200 * 1024 * 1024 - 1)
/* In current implementation address translation is done using IN0 only.
@@ -75,8 +75,8 @@
#include <asm/irq.h>
#include <asm/gpio.h>
-#include <mach/board.h>
-#include <mach/cpu.h>
+#include <mach-at91/board.h>
+#include <mach-at91/cpu.h>
#include "at91_mci.h"
@@ -38,10 +38,10 @@
#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/sizes.h>
-#include <mach/mmc.h>
+#include <mach-imx/mmc.h>
-#include <mach/dma.h>
-#include <mach/hardware.h>
+#include <mach-imx/dma.h>
+#include <mach-imx/hardware.h>
#define DRIVER_NAME "mxc-mmc"
@@ -39,7 +39,7 @@
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/pm_runtime.h>
-#include <mach/hardware.h>
+#include <plat-omap/hardware.h>
#include <plat-omap/board.h>
#include <plat-omap/mmc.h>
#include <plat-omap/cpu.h>
@@ -33,9 +33,9 @@
#include <asm/sizes.h>
-#include <mach/hardware.h>
-#include <mach/dma.h>
-#include <mach/mmc.h>
+#include <mach-pxa/hardware.h>
+#include <mach-pxa/dma.h>
+#include <mach-pxa/mmc.h>
#include "pxamci.h"
@@ -9,7 +9,7 @@
#include <linux/ioport.h>
#include <linux/init.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-clps711x/hardware.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
@@ -16,7 +16,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
-#include <mach/hardware.h>
+#include <mach-h720x/hardware.h>
#include <asm/io.h>
static struct mtd_info *mymtd;
@@ -20,7 +20,7 @@
#include <linux/mtd/partitions.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-pxa/hardware.h>
#include <asm/mach/flash.h>
@@ -19,7 +19,7 @@
#include <linux/mtd/partitions.h>
#include <linux/mtd/concat.h>
-#include <mach/hardware.h>
+#include <mach-sa1100/hardware.h>
#include <asm/sizes.h>
#include <asm/mach/flash.h>
@@ -24,7 +24,7 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-omap1/hardware.h>
#include <asm/sizes.h>
#include <linux/gpio.h>
#include <plat-omap/board-ams-delta.h>
@@ -25,7 +25,7 @@
#include <linux/platform_device.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-pxa/hardware.h>
#include <asm/mach-types.h>
struct sharpsl_nand {
@@ -37,7 +37,7 @@
#include <linux/can/dev.h>
#include <linux/can/error.h>
-#include <mach/board.h>
+#include <mach-at91/board.h>
#define AT91_MB_MASK(i) ((1 << (i)) - 1)
@@ -29,7 +29,7 @@
#include <linux/platform_device.h>
#include <linux/io.h>
-#include <mach/hardware.h>
+#include <mach-ebsa110/hardware.h>
#define TX_BUFFERS 15
#define RX_BUFFERS 25
@@ -26,7 +26,7 @@
#include <linux/io.h>
#include <linux/slab.h>
-#include <mach/hardware.h>
+#include <mach-ep93xx/hardware.h>
#define DRV_MODULE_NAME "ep93xx-eth"
#define DRV_MODULE_VERSION "0.1"
@@ -45,9 +45,9 @@
#include <linux/types.h>
#include <linux/io.h>
-#include <mach/board.h>
-#include <mach/platform.h>
-#include <mach/hardware.h>
+#include <mach-lpc32xx/board.h>
+#include <mach-lpc32xx/platform.h>
+#include <mach-lpc32xx/hardware.h>
#define MODNAME "lpc-eth"
#define DRV_VERSION "1.00"
@@ -211,7 +211,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
#ifdef SMC_USE_PXA_DMA
-#include <mach/dma.h>
+#include <mach-pxa/dma.h>
/*
* Define the request and free functions
@@ -364,7 +364,7 @@ struct smc_local {
* as RX which can overrun memory and lose packets.
*/
#include <linux/dma-mapping.h>
-#include <mach-sa1100/dma.h>
+#include <mach-pxa/dma.h>
#ifdef SMC_insl
#undef SMC_insl
@@ -14,7 +14,7 @@
#include <net/irda/irda_device.h>
#include <asm/io.h>
-#include <mach/hardware.h>
+#include <mach-clps711x/hardware.h>
#include "sir-dev.h"
@@ -27,10 +27,10 @@
#include <net/irda/wrapper.h>
#include <net/irda/irda_device.h>
-#include <mach/dma.h>
-#include <mach/irda.h>
-#include <mach/regs-uart.h>
-#include <mach/regs-ost.h>
+#include <mach-pxa/dma.h>
+#include <mach-pxa/irda.h>
+#include <mach-pxa/regs-uart.h>
+#include <mach-pxa/regs-ost.h>
#define FICP __REG(0x40800000) /* Start of FICP area */
#define ICCR0 __REG(0x40800000) /* ICP Control Register 0 */
@@ -37,7 +37,7 @@
#include <net/irda/wrapper.h>
#include <net/irda/irda_device.h>
-#include <mach/hardware.h>
+#include <mach-sa1100/hardware.h>
#include <asm/mach/irda.h>
static int power_level = 3;
@@ -20,7 +20,7 @@
#include <pcmcia/ss.h>
-#include <mach/hardware.h>
+#include <mach-omap1/hardware.h>
#include <asm/io.h>
#include <asm/sizes.h>
@@ -13,7 +13,7 @@
#include <linux/module.h>
#include <asm/mach-types.h>
-#include <mach/hardware.h>
+#include <mach-pxa/hardware.h>
int cmx255_pcmcia_init(void);
int cmx270_pcmcia_init(void);
@@ -10,7 +10,7 @@
#include <linux/errno.h>
#include <linux/init.h>
-#include <mach/hardware.h>
+#include <mach-sa1100/hardware.h>
#include <asm/hardware/sa1111.h>
#include <asm/mach-types.h>
@@ -39,7 +39,7 @@
#include <linux/io.h>
#include <linux/slab.h>
-#include <mach/hardware.h>
+#include <mach-sa1100/hardware.h>
#include <asm/irq.h>
#include "soc_common.h"
@@ -26,6 +26,7 @@
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <linux/power/smartreflex.h>
+#include <plat-omap/cpu.h>
#define SMARTREFLEX_NAME_LEN 16
#define NVALUE_NAME_LEN 40
@@ -16,7 +16,7 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/pwm.h>
-#include <mach/hardware.h>
+#include <mach-imx/hardware.h>
/* i.MX1 and i.MX21 share the same PWM function block: */
@@ -17,7 +17,7 @@
#include <linux/platform_device.h>
#include <linux/clk.h>
-#include <mach/hardware.h>
+#include <mach-imx/hardware.h>
#define RTC_INPUT_CLK_32768HZ (0x00 << 5)
#define RTC_INPUT_CLK_32000HZ (0x01 << 5)
@@ -28,7 +28,7 @@
#include <linux/io.h>
#include <linux/slab.h>
-#include <mach/hardware.h>
+#include <mach-pxa/hardware.h>
#define TIMER_FREQ CLOCK_TICK_RATE
#define RTC_DEF_DIVIDER (32768 - 1)
@@ -27,7 +27,7 @@
#include <linux/slab.h>
#include <linux/of_device.h>
-#include <mach/common.h>
+#include <mach-mxs/common.h>
#define STMP3XXX_RTC_CTRL 0x0
#define STMP3XXX_RTC_CTRL_SET 0x4
@@ -8,7 +8,7 @@
#include <linux/linkage.h>
#include <asm/assembler.h>
-#include <mach/hardware.h>
+#include <mach-rpc/hardware.h>
#if defined(__APCS_32__)
#define LOADREGS(t,r,l...) ldm##t r, l
@@ -39,7 +39,7 @@
#include <linux/of_gpio.h>
#include <linux/pinctrl/consumer.h>
-#include <mach/spi.h>
+#include <mach-imx/spi.h>
#define DRIVER_NAME "spi_imx"
@@ -48,7 +48,7 @@
#include <linux/module.h>
#include <asm/irq.h>
-#include <mach/hardware.h>
+#include <mach-omap1/hardware.h>
#include <asm/io.h>
#include <asm/mach-types.h>
@@ -13,8 +13,8 @@
#include <linux/linkage.h>
#include <asm/assembler.h>
-#include <mach/map.h>
-#include <mach/regs-irq.h>
+#include <mach-s3c24xx/map.h>
+#include <mach-s3c24xx/regs-irq.h>
#include <plat-samsung/regs-spi.h>
#include "spi-s3c24xx-fiq.h"
@@ -32,7 +32,7 @@
#include <linux/spi/spi.h>
#include <linux/dmaengine.h>
-#include <mach/dma.h>
+#include <mach-tegra/dma.h>
#define SLINK_COMMAND 0x000
#define SLINK_BIT_LENGTH(x) (((x) & 0x1f) << 0)
@@ -5,8 +5,8 @@
#include <linux/i2c.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
-#include <mach/gpio.h>
-#include <mach/irqs.h>
+#include <mach-ux500/gpio.h>
+#include <mach-ux500/irqs.h>
#include "synaptics_i2c_rmi4.h"
/*
@@ -18,7 +18,7 @@
#include <asm/mach-types.h>
#include <asm/system_info.h>
#include <asm/hardware/dec21285.h>
-#include <mach/hardware.h>
+#include <mach-footbridge/hardware.h>
#define BAUD_BASE (mem_fclk_21285/64)
@@ -44,11 +44,13 @@
#include <asm/ioctls.h>
#include <asm/mach/serial_at91.h>
-#include <mach/board.h>
#ifdef CONFIG_ARM
-#include <mach/cpu.h>
+#include <mach-at91/board.h>
+#include <mach-at91/cpu.h>
#include <asm/gpio.h>
+#else
+#include <mach/board.h>
#endif
#define PDC_BUFFER_SIZE 512
@@ -38,7 +38,7 @@
#include <linux/serial.h>
#include <linux/io.h>
-#include <mach/hardware.h>
+#include <mach-clps711x/hardware.h>
#include <asm/irq.h>
#define UART_NR 2
@@ -51,8 +51,8 @@
#include <linux/atomic.h>
#include <asm/irq.h>
-#include <mach/hardware.h>
-#include <mach/dma.h>
+#include <mach-msm/hardware.h>
+#include <mach-msm/dma.h>
#include <linux/platform_data/msm_serial_hs.h>
/* HSUART Registers */
@@ -37,8 +37,8 @@
#include <linux/io.h>
#include <asm/irq.h>
-#include <mach/hardware.h>
-#include <mach/irqs.h>
+#include <mach-sa1100/hardware.h>
+#include <mach-sa1100/irqs.h>
#include <asm/mach/serial_sa1100.h>
/* We've been assigned a range on the "Low-density serial ports" major */
@@ -25,8 +25,8 @@
#include <asm/irq.h>
#include <asm/mach/irq.h>
-#include <mach/regs-uart.h>
-#include <mach/regs-irq.h>
+#include <mach-ks8695/regs-uart.h>
+#include <mach-ks8695/regs-irq.h>
#if defined(CONFIG_SERIAL_KS8695_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
@@ -25,7 +25,7 @@
#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
-#include <mach/sram.h>
+#include <mach-davinci/sram.h>
#define DRV_NAME "pruss_uio"
#define DRV_VERSION "1.0"
@@ -18,7 +18,7 @@
#include <linux/platform_device.h>
#include <linux/io.h>
-#include <mach/hardware.h>
+#include <mach-imx/hardware.h>
static struct clk *mxc_ahb_clk;
static struct clk *mxc_per_clk;
@@ -35,8 +35,8 @@
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
-#include <mach/usb.h>
-#include <mach/hardware.h>
+#include <mach-imx/usb.h>
+#include <mach-imx/hardware.h>
#include "imx_udc.h"
@@ -26,12 +26,12 @@
#include <linux/prefetch.h>
#include <asm/byteorder.h>
-#include <mach/hardware.h>
+#include <mach-pxa/hardware.h>
#include <linux/usb.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
-#include <mach/udc.h>
+#include <mach-pxa/udc.h>
#include "pxa27x_udc.h"
@@ -17,11 +17,11 @@
#include <linux/of_platform.h>
#include <linux/of_gpio.h>
-#include <mach/hardware.h>
+#include <mach-at91/hardware.h>
#include <asm/gpio.h>
-#include <mach/board.h>
-#include <mach/cpu.h>
+#include <mach-at91/board.h>
+#include <mach-at91/cpu.h>
#ifndef CONFIG_ARCH_AT91
#error "CONFIG_ARCH_AT91 must be defined."
@@ -14,7 +14,7 @@
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/platform_device.h>
-#include <mach/ohci.h>
+#include <mach-exynos/ohci.h>
#include <plat-samsung/usb-phy.h>
struct exynos_ohci_hcd {
@@ -34,8 +34,8 @@
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
-#include <mach/cputype.h>
-#include <mach/hardware.h>
+#include <mach-davinci/cputype.h>
+#include <mach-davinci/hardware.h>
#include <asm/mach-types.h>
@@ -30,7 +30,7 @@
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/pfn.h>
-#include <mach/usb.h>
+#include <mach-ux500/usb.h>
#include "musb_core.h"
struct ux500_dma_channel {
@@ -40,7 +40,7 @@
#include <linux/usb/msm_hsusb_hw.h>
#include <linux/regulator/consumer.h>
-#include <mach/clk.h>
+#include <mach-msm/clk.h>
#define MSM_USB_BASE (motg->regs)
#define DRIVER_NAME "msm_otg"
@@ -28,7 +28,7 @@
#include <linux/backlight.h>
#include <linux/slab.h>
-#include <mach/hardware.h>
+#include <mach-omap1/hardware.h>
#include <plat-omap/board.h>
#include <plat-omap/mux.h>
@@ -24,7 +24,7 @@
#include <linux/clk.h>
#include <linux/fb.h>
-#include <mach/fb.h>
+#include <mach-ep93xx/fb.h>
/* Vertical Frame Timing Registers */
#define EP93XXFB_VLINES_TOTAL 0x0000 /* SW locked */
@@ -15,8 +15,8 @@
#ifndef __NUC900FB_H
#define __NUC900FB_H
-#include <mach/map.h>
-#include <mach/fb.h>
+#include <mach-w90x900/map.h>
+#include <mach-w90x900/fb.h>
enum nuc900_lcddrv_type {
LCDDRV_NUC910,
@@ -12,7 +12,7 @@
#ifndef __PNX008_DUM_H__
#define __PNX008_DUM_H__
-#include <mach/platform.h>
+#include <mach-pnx4008/platform.h>
#define PNX4008_DUMCONF_VA_BASE IO_ADDRESS(PNX4008_DUMCONF_BASE)
#define PNX4008_DUM_MAIN_VA_BASE IO_ADDRESS(PNX4008_DUM_MAINCFG_BASE)
@@ -19,7 +19,7 @@
#include <linux/pm_runtime.h>
#include <asm/irq.h>
-#include <mach/hardware.h>
+#include <mach-omap2/hardware.h>
#include "../w1.h"
#include "../w1_int.h"
@@ -33,7 +33,7 @@
#include <linux/uaccess.h>
#include <linux/timer.h>
#include <linux/jiffies.h>
-#include <mach/hardware.h>
+#include <mach-imx/hardware.h>
#define DRIVER_NAME "imx2-wdt"
@@ -25,7 +25,7 @@
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/uaccess.h>
-#include <mach/hardware.h>
+#include <mach-ixp4xx/hardware.h>
static bool nowayout = WATCHDOG_NOWAYOUT;
static int heartbeat = 60; /* (secs) Default is 1 minute */
@@ -23,8 +23,8 @@
#include <linux/watchdog.h>
#include <linux/io.h>
#include <linux/uaccess.h>
-#include <mach/hardware.h>
-#include <mach/regs-timer.h>
+#include <mach-ks8695/hardware.h>
+#include <mach-ks8695/regs-timer.h>
#define WDT_DEFAULT_TIME 5 /* seconds */
#define WDT_MAX_TIME 171 /* seconds */
@@ -31,7 +31,7 @@
#include <linux/interrupt.h>
#include <linux/uaccess.h>
#include <linux/irq.h>
-#include <mach/hardware.h>
+#include <mach-footbridge/hardware.h>
#include <asm/mach-types.h>
#include <asm/system_info.h>
These are lots of device drivers that include machine specific header files from ARM platforms and that are not easily scriptable. The changes have been found through manual inspection and should cause no visible changes because of the build script that maps the old names to the new ones. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/char/ds1620.c | 2 +- drivers/char/hw_random/ixp4xx-rng.c | 2 +- drivers/cpufreq/db8500-cpufreq.c | 2 +- drivers/cpufreq/exynos-cpufreq.c | 2 +- drivers/cpufreq/exynos4210-cpufreq.c | 4 ++-- drivers/cpufreq/exynos4x12-cpufreq.c | 4 ++-- drivers/cpufreq/exynos5250-cpufreq.c | 6 +++--- drivers/cpufreq/omap-cpufreq.c | 2 +- drivers/cpufreq/s5pv210-cpufreq.c | 2 +- drivers/crypto/omap-sham.c | 2 +- drivers/crypto/tegra-aes.c | 2 +- drivers/devfreq/exynos4_bus.c | 2 +- drivers/dma/ep93xx_dma.c | 2 +- drivers/dma/imx-dma.c | 4 ++-- drivers/gpio/gpio-omap.c | 4 ++-- drivers/gpio/gpio-pxa.c | 8 +++++++- drivers/i2c/busses/i2c-acorn.c | 2 +- drivers/i2c/busses/i2c-davinci.c | 4 ++-- drivers/i2c/busses/i2c-imx.c | 4 ++-- drivers/i2c/busses/i2c-nuc900.c | 4 ++-- drivers/i2c/busses/i2c-tegra.c | 2 +- drivers/input/misc/ixp4xx-beeper.c | 2 +- drivers/input/mouse/rpcmouse.c | 2 +- drivers/input/serio/rpckbd.c | 2 +- drivers/input/touchscreen/atmel_tsadcc.c | 4 ++-- drivers/input/touchscreen/h3600_ts_input.c | 4 ++-- drivers/input/touchscreen/mainstone-wm97xx.c | 2 +- drivers/input/touchscreen/zylonite-wm97xx.c | 6 +++--- drivers/leds/leds-fsg.c | 2 +- drivers/media/video/pxa_camera.c | 4 ++-- drivers/mfd/dbx500-prcmu-regs.h | 2 +- drivers/misc/ep93xx_pwm.c | 2 +- drivers/misc/spear13xx_pcie_gadget.c | 4 ++-- drivers/mmc/host/at91_mci.c | 4 ++-- drivers/mmc/host/mxcmmc.c | 6 +++--- drivers/mmc/host/omap_hsmmc.c | 2 +- drivers/mmc/host/pxamci.c | 6 +++--- drivers/mtd/maps/cdb89712.c | 2 +- drivers/mtd/maps/h720x-flash.c | 2 +- drivers/mtd/maps/pxa2xx-flash.c | 2 +- drivers/mtd/maps/sa1100-flash.c | 2 +- drivers/mtd/nand/ams-delta.c | 2 +- drivers/mtd/nand/sharpsl.c | 2 +- drivers/net/can/at91_can.c | 2 +- drivers/net/ethernet/amd/am79c961a.c | 2 +- drivers/net/ethernet/cirrus/ep93xx_eth.c | 2 +- drivers/net/ethernet/nxp/lpc_eth.c | 6 +++--- drivers/net/ethernet/smsc/smc911x.h | 2 +- drivers/net/ethernet/smsc/smc91x.h | 2 +- drivers/net/irda/ep7211-sir.c | 2 +- drivers/net/irda/pxaficp_ir.c | 8 ++++---- drivers/net/irda/sa1100_ir.c | 2 +- drivers/pcmcia/omap_cf.c | 2 +- drivers/pcmcia/pxa2xx_cm_x2xx.c | 2 +- drivers/pcmcia/sa1111_jornada720.c | 2 +- drivers/pcmcia/sa11xx_base.c | 2 +- drivers/power/avs/smartreflex.c | 1 + drivers/pwm/pwm-imx.c | 2 +- drivers/rtc/rtc-mxc.c | 2 +- drivers/rtc/rtc-pxa.c | 2 +- drivers/rtc/rtc-stmp3xxx.c | 2 +- drivers/scsi/arm/acornscsi-io.S | 2 +- drivers/spi/spi-imx.c | 2 +- drivers/spi/spi-omap-uwire.c | 2 +- drivers/spi/spi-s3c24xx-fiq.S | 4 ++-- drivers/spi/spi-tegra.c | 2 +- drivers/staging/ste_rmi4/board-mop500-u8500uib-rmi4.c | 4 ++-- drivers/tty/serial/21285.c | 2 +- drivers/tty/serial/atmel_serial.c | 6 ++++-- drivers/tty/serial/clps711x.c | 2 +- drivers/tty/serial/msm_serial_hs.c | 4 ++-- drivers/tty/serial/sa1100.c | 4 ++-- drivers/tty/serial/serial_ks8695.c | 4 ++-- drivers/uio/uio_pruss.c | 2 +- drivers/usb/gadget/fsl_mxc_udc.c | 2 +- drivers/usb/gadget/imx_udc.c | 4 ++-- drivers/usb/gadget/pxa27x_udc.c | 4 ++-- drivers/usb/host/ohci-at91.c | 6 +++--- drivers/usb/host/ohci-exynos.c | 2 +- drivers/usb/musb/davinci.c | 4 ++-- drivers/usb/musb/ux500_dma.c | 2 +- drivers/usb/otg/msm_otg.c | 2 +- drivers/video/backlight/omap1_bl.c | 2 +- drivers/video/ep93xx-fb.c | 2 +- drivers/video/nuc900fb.h | 4 ++-- drivers/video/pnx4008/dum.h | 2 +- drivers/w1/masters/omap_hdq.c | 2 +- drivers/watchdog/imx2_wdt.c | 2 +- drivers/watchdog/ixp4xx_wdt.c | 2 +- drivers/watchdog/ks8695_wdt.c | 4 ++-- drivers/watchdog/wdt285.c | 2 +- 91 files changed, 137 insertions(+), 128 deletions(-)