diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 07:57:38 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 08:36:57 -0400 |
commit | 3663b736a5083b3bce74520b637f630f01f66a7f (patch) | |
tree | b6718d8216c8096013ced5beaa0375f8b3fb3877 | |
parent | 964d219b6a8a79ea4c8d77b6dcdcbbcda403c392 (diff) |
avr32: Use <mach/foo.h> instead of <asm/arch/foo.h>
Update all avr32-specific files to use the new platform-specific header
locations. Drivers shared with ARM are left alone for now.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-rw-r--r-- | arch/avr32/boards/atngw100/flash.c | 2 | ||||
-rw-r--r-- | arch/avr32/boards/atngw100/setup.c | 8 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 10 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1003.c | 8 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1004.c | 8 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/flash.c | 2 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/setup.c | 6 | ||||
-rw-r--r-- | arch/avr32/include/asm/gpio.h | 2 | ||||
-rw-r--r-- | arch/avr32/include/asm/io.h | 2 | ||||
-rw-r--r-- | arch/avr32/include/asm/irq.h | 2 | ||||
-rw-r--r-- | arch/avr32/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/avr32/kernel/setup.c | 4 | ||||
-rw-r--r-- | arch/avr32/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 8 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/hsmc.c | 2 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/pio.c | 2 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/pm-at32ap700x.S | 2 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/pm.c | 4 | ||||
-rw-r--r-- | drivers/ata/pata_at32.c | 4 | ||||
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 2 |
20 files changed, 41 insertions, 41 deletions
diff --git a/arch/avr32/boards/atngw100/flash.c b/arch/avr32/boards/atngw100/flash.c index b07ae63aa548..55ccc9ce4892 100644 --- a/arch/avr32/boards/atngw100/flash.c +++ b/arch/avr32/boards/atngw100/flash.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
14 | #include <linux/mtd/physmap.h> | 14 | #include <linux/mtd/physmap.h> |
15 | 15 | ||
16 | #include <asm/arch/smc.h> | 16 | #include <mach/smc.h> |
17 | 17 | ||
18 | static struct smc_timing flash_timing __initdata = { | 18 | static struct smc_timing flash_timing __initdata = { |
19 | .ncs_read_setup = 0, | 19 | .ncs_read_setup = 0, |
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index c7fe94d03a1e..670c87b2db12 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c | |||
@@ -23,10 +23,10 @@ | |||
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/setup.h> | 24 | #include <asm/setup.h> |
25 | 25 | ||
26 | #include <asm/arch/at32ap700x.h> | 26 | #include <mach/at32ap700x.h> |
27 | #include <asm/arch/board.h> | 27 | #include <mach/board.h> |
28 | #include <asm/arch/init.h> | 28 | #include <mach/init.h> |
29 | #include <asm/arch/portmux.h> | 29 | #include <mach/portmux.h> |
30 | 30 | ||
31 | /* Oscillator frequencies. These are board-specific */ | 31 | /* Oscillator frequencies. These are board-specific */ |
32 | unsigned long at32_board_osc_rates[3] = { | 32 | unsigned long at32_board_osc_rates[3] = { |
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index 8538ba75ef92..b33542b97563 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -23,10 +23,10 @@ | |||
23 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
24 | #include <asm/atmel-mci.h> | 24 | #include <asm/atmel-mci.h> |
25 | 25 | ||
26 | #include <asm/arch/at32ap700x.h> | 26 | #include <mach/at32ap700x.h> |
27 | #include <asm/arch/board.h> | 27 | #include <mach/board.h> |
28 | #include <asm/arch/init.h> | 28 | #include <mach/init.h> |
29 | #include <asm/arch/portmux.h> | 29 | #include <mach/portmux.h> |
30 | 30 | ||
31 | #include "atstk1000.h" | 31 | #include "atstk1000.h" |
32 | 32 | ||
@@ -49,7 +49,7 @@ unsigned long at32_board_osc_rates[3] = { | |||
49 | */ | 49 | */ |
50 | #ifdef CONFIG_BOARD_ATSTK1006 | 50 | #ifdef CONFIG_BOARD_ATSTK1006 |
51 | #include <linux/mtd/partitions.h> | 51 | #include <linux/mtd/partitions.h> |
52 | #include <asm/arch/smc.h> | 52 | #include <mach/smc.h> |
53 | 53 | ||
54 | static struct smc_timing nand_timing __initdata = { | 54 | static struct smc_timing nand_timing __initdata = { |
55 | .ncs_read_setup = 0, | 55 | .ncs_read_setup = 0, |
diff --git a/arch/avr32/boards/atstk1000/atstk1003.c b/arch/avr32/boards/atstk1000/atstk1003.c index 591fc73b554a..0cf664174c17 100644 --- a/arch/avr32/boards/atstk1000/atstk1003.c +++ b/arch/avr32/boards/atstk1000/atstk1003.c | |||
@@ -20,10 +20,10 @@ | |||
20 | 20 | ||
21 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
22 | 22 | ||
23 | #include <asm/arch/at32ap700x.h> | 23 | #include <mach/at32ap700x.h> |
24 | #include <asm/arch/board.h> | 24 | #include <mach/board.h> |
25 | #include <asm/arch/init.h> | 25 | #include <mach/init.h> |
26 | #include <asm/arch/portmux.h> | 26 | #include <mach/portmux.h> |
27 | 27 | ||
28 | #include "atstk1000.h" | 28 | #include "atstk1000.h" |
29 | 29 | ||
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c index d9c5e0a21256..50a5273e5916 100644 --- a/arch/avr32/boards/atstk1000/atstk1004.c +++ b/arch/avr32/boards/atstk1000/atstk1004.c | |||
@@ -22,10 +22,10 @@ | |||
22 | 22 | ||
23 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
24 | 24 | ||
25 | #include <asm/arch/at32ap700x.h> | 25 | #include <mach/at32ap700x.h> |
26 | #include <asm/arch/board.h> | 26 | #include <mach/board.h> |
27 | #include <asm/arch/init.h> | 27 | #include <mach/init.h> |
28 | #include <asm/arch/portmux.h> | 28 | #include <mach/portmux.h> |
29 | 29 | ||
30 | #include "atstk1000.h" | 30 | #include "atstk1000.h" |
31 | 31 | ||
diff --git a/arch/avr32/boards/atstk1000/flash.c b/arch/avr32/boards/atstk1000/flash.c index 3d0a102ad45e..6e4d561977ff 100644 --- a/arch/avr32/boards/atstk1000/flash.c +++ b/arch/avr32/boards/atstk1000/flash.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
14 | #include <linux/mtd/physmap.h> | 14 | #include <linux/mtd/physmap.h> |
15 | 15 | ||
16 | #include <asm/arch/smc.h> | 16 | #include <mach/smc.h> |
17 | 17 | ||
18 | static struct smc_timing flash_timing __initdata = { | 18 | static struct smc_timing flash_timing __initdata = { |
19 | .ncs_read_setup = 0, | 19 | .ncs_read_setup = 0, |
diff --git a/arch/avr32/boards/atstk1000/setup.c b/arch/avr32/boards/atstk1000/setup.c index 8bedf93876a3..2d6b560115d9 100644 --- a/arch/avr32/boards/atstk1000/setup.c +++ b/arch/avr32/boards/atstk1000/setup.c | |||
@@ -18,9 +18,9 @@ | |||
18 | 18 | ||
19 | #include <asm/setup.h> | 19 | #include <asm/setup.h> |
20 | 20 | ||
21 | #include <asm/arch/at32ap700x.h> | 21 | #include <mach/at32ap700x.h> |
22 | #include <asm/arch/board.h> | 22 | #include <mach/board.h> |
23 | #include <asm/arch/portmux.h> | 23 | #include <mach/portmux.h> |
24 | 24 | ||
25 | #include "atstk1000.h" | 25 | #include "atstk1000.h" |
26 | 26 | ||
diff --git a/arch/avr32/include/asm/gpio.h b/arch/avr32/include/asm/gpio.h index 19e8ccc77db3..b771f7105964 100644 --- a/arch/avr32/include/asm/gpio.h +++ b/arch/avr32/include/asm/gpio.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef __ASM_AVR32_GPIO_H | 1 | #ifndef __ASM_AVR32_GPIO_H |
2 | #define __ASM_AVR32_GPIO_H | 2 | #define __ASM_AVR32_GPIO_H |
3 | 3 | ||
4 | #include <asm/arch/gpio.h> | 4 | #include <mach/gpio.h> |
5 | 5 | ||
6 | #endif /* __ASM_AVR32_GPIO_H */ | 6 | #endif /* __ASM_AVR32_GPIO_H */ |
diff --git a/arch/avr32/include/asm/io.h b/arch/avr32/include/asm/io.h index 8be7ea9c9047..a520f77ead96 100644 --- a/arch/avr32/include/asm/io.h +++ b/arch/avr32/include/asm/io.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <asm/addrspace.h> | 8 | #include <asm/addrspace.h> |
9 | #include <asm/byteorder.h> | 9 | #include <asm/byteorder.h> |
10 | 10 | ||
11 | #include <asm/arch/io.h> | 11 | #include <mach/io.h> |
12 | 12 | ||
13 | /* virt_to_phys will only work when address is in P1 or P2 */ | 13 | /* virt_to_phys will only work when address is in P1 or P2 */ |
14 | static __inline__ unsigned long virt_to_phys(volatile void *address) | 14 | static __inline__ unsigned long virt_to_phys(volatile void *address) |
diff --git a/arch/avr32/include/asm/irq.h b/arch/avr32/include/asm/irq.h index c563b7720c1a..6fa8913f8548 100644 --- a/arch/avr32/include/asm/irq.h +++ b/arch/avr32/include/asm/irq.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #define NR_INTERNAL_IRQS 64 | 4 | #define NR_INTERNAL_IRQS 64 |
5 | 5 | ||
6 | #include <asm/arch/irq.h> | 6 | #include <mach/irq.h> |
7 | 7 | ||
8 | #ifndef NR_IRQS | 8 | #ifndef NR_IRQS |
9 | #define NR_IRQS (NR_INTERNAL_IRQS) | 9 | #define NR_IRQS (NR_INTERNAL_IRQS) |
diff --git a/arch/avr32/kernel/process.c b/arch/avr32/kernel/process.c index ff820a9e743a..2c08ac992ac3 100644 --- a/arch/avr32/kernel/process.c +++ b/arch/avr32/kernel/process.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/sysreg.h> | 18 | #include <asm/sysreg.h> |
19 | #include <asm/ocd.h> | 19 | #include <asm/ocd.h> |
20 | 20 | ||
21 | #include <asm/arch/pm.h> | 21 | #include <mach/pm.h> |
22 | 22 | ||
23 | void (*pm_power_off)(void) = NULL; | 23 | void (*pm_power_off)(void) = NULL; |
24 | EXPORT_SYMBOL(pm_power_off); | 24 | EXPORT_SYMBOL(pm_power_off); |
diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c index ce48c14f4349..d8e623c426c1 100644 --- a/arch/avr32/kernel/setup.c +++ b/arch/avr32/kernel/setup.c | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
27 | #include <asm/sysreg.h> | 27 | #include <asm/sysreg.h> |
28 | 28 | ||
29 | #include <asm/arch/board.h> | 29 | #include <mach/board.h> |
30 | #include <asm/arch/init.h> | 30 | #include <mach/init.h> |
31 | 31 | ||
32 | extern int root_mountflags; | 32 | extern int root_mountflags; |
33 | 33 | ||
diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c index 7e7f32771ae1..283481d74a5b 100644 --- a/arch/avr32/kernel/time.c +++ b/arch/avr32/kernel/time.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/sysreg.h> | 16 | #include <asm/sysreg.h> |
17 | 17 | ||
18 | #include <asm/arch/pm.h> | 18 | #include <mach/pm.h> |
19 | 19 | ||
20 | 20 | ||
21 | static cycle_t read_cycle_count(void) | 21 | static cycle_t read_cycle_count(void) |
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 1617048c86c5..92bfb4d8ae45 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -20,10 +20,10 @@ | |||
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
22 | 22 | ||
23 | #include <asm/arch/at32ap700x.h> | 23 | #include <mach/at32ap700x.h> |
24 | #include <asm/arch/board.h> | 24 | #include <mach/board.h> |
25 | #include <asm/arch/portmux.h> | 25 | #include <mach/portmux.h> |
26 | #include <asm/arch/sram.h> | 26 | #include <mach/sram.h> |
27 | 27 | ||
28 | #include <video/atmel_lcdc.h> | 28 | #include <video/atmel_lcdc.h> |
29 | 29 | ||
diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c index b2d9bc61a35c..2875c11be95d 100644 --- a/arch/avr32/mach-at32ap/hsmc.c +++ b/arch/avr32/mach-at32ap/hsmc.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | 15 | ||
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | #include <asm/arch/smc.h> | 17 | #include <mach/smc.h> |
18 | 18 | ||
19 | #include "hsmc.h" | 19 | #include "hsmc.h" |
20 | 20 | ||
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index 296294f8ed81..405ee6bad4ce 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/gpio.h> | 17 | #include <asm/gpio.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | 19 | ||
20 | #include <asm/arch/portmux.h> | 20 | #include <mach/portmux.h> |
21 | 21 | ||
22 | #include "pio.h" | 22 | #include "pio.h" |
23 | 23 | ||
diff --git a/arch/avr32/mach-at32ap/pm-at32ap700x.S b/arch/avr32/mach-at32ap/pm-at32ap700x.S index 0a53ad314ff4..5be4de65b209 100644 --- a/arch/avr32/mach-at32ap/pm-at32ap700x.S +++ b/arch/avr32/mach-at32ap/pm-at32ap700x.S | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <asm/asm.h> | 10 | #include <asm/asm.h> |
11 | #include <asm/asm-offsets.h> | 11 | #include <asm/asm-offsets.h> |
12 | #include <asm/thread_info.h> | 12 | #include <asm/thread_info.h> |
13 | #include <asm/arch/pm.h> | 13 | #include <mach/pm.h> |
14 | 14 | ||
15 | #include "pm.h" | 15 | #include "pm.h" |
16 | #include "sdramc.h" | 16 | #include "sdramc.h" |
diff --git a/arch/avr32/mach-at32ap/pm.c b/arch/avr32/mach-at32ap/pm.c index 0b764320135d..a0cbef54fc2a 100644 --- a/arch/avr32/mach-at32ap/pm.c +++ b/arch/avr32/mach-at32ap/pm.c | |||
@@ -14,8 +14,8 @@ | |||
14 | #include <asm/cacheflush.h> | 14 | #include <asm/cacheflush.h> |
15 | #include <asm/sysreg.h> | 15 | #include <asm/sysreg.h> |
16 | 16 | ||
17 | #include <asm/arch/pm.h> | 17 | #include <mach/pm.h> |
18 | #include <asm/arch/sram.h> | 18 | #include <mach/sram.h> |
19 | 19 | ||
20 | /* FIXME: This is only valid for AP7000 */ | 20 | /* FIXME: This is only valid for AP7000 */ |
21 | #define SDRAMC_BASE 0xfff03800 | 21 | #define SDRAMC_BASE 0xfff03800 |
diff --git a/drivers/ata/pata_at32.c b/drivers/ata/pata_at32.c index 82fb6e273169..ab61095093b9 100644 --- a/drivers/ata/pata_at32.c +++ b/drivers/ata/pata_at32.c | |||
@@ -24,8 +24,8 @@ | |||
24 | #include <linux/err.h> | 24 | #include <linux/err.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <asm/arch/board.h> | 27 | #include <mach/board.h> |
28 | #include <asm/arch/smc.h> | 28 | #include <mach/smc.h> |
29 | 29 | ||
30 | #define DRV_NAME "pata_at32" | 30 | #define DRV_NAME "pata_at32" |
31 | #define DRV_VERSION "0.0.3" | 31 | #define DRV_VERSION "0.0.3" |
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 992b4beb757c..0bd06f5bd62f 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/unaligned.h> | 29 | #include <asm/unaligned.h> |
30 | 30 | ||
31 | #include <asm/arch/board.h> | 31 | #include <mach/board.h> |
32 | 32 | ||
33 | #include "atmel-mci-regs.h" | 33 | #include "atmel-mci-regs.h" |
34 | 34 | ||