diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2014-06-17 03:47:45 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-06-17 04:09:39 -0400 |
commit | 6b8b0cb477b3e77721982effae3415f3c5f58fee (patch) | |
tree | 3af4490cbd6f9f18ff4b385e672f57075cb21d09 /arch | |
parent | fd44aa5e570d1d8c7d361dcbf94c2b8cd25cfe92 (diff) |
ARM: shmobile: Move pm-rmobile.h, cleanup sh73xx.h
Change location of pm-rmobile.h so it can be used as #include "pm-rmobile.h"
instead of the old style #include <mach/pm-rmobile.h>. Also clean up
the sh7372 and sh73a0 header files to get rid of unused include files.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7740.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/pm-r8a7740.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/pm-rmobile.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/pm-rmobile.h (renamed from arch/arm/mach-shmobile/include/mach/pm-rmobile.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/pm-sh7372.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7740.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 1 |
10 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 12b01df7557a..53d03e85750a 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -61,6 +61,7 @@ | |||
61 | #include <sound/simple_card.h> | 61 | #include <sound/simple_card.h> |
62 | #include "common.h" | 62 | #include "common.h" |
63 | #include "irqs.h" | 63 | #include "irqs.h" |
64 | #include "pm-rmobile.h" | ||
64 | #include "sh-gpio.h" | 65 | #include "sh-gpio.h" |
65 | 66 | ||
66 | /* | 67 | /* |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 3558ff0f834a..0ece865cbc4d 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <linux/regulator/fixed.h> | 47 | #include <linux/regulator/fixed.h> |
48 | #include <linux/regulator/machine.h> | 48 | #include <linux/regulator/machine.h> |
49 | #include <linux/smsc911x.h> | 49 | #include <linux/smsc911x.h> |
50 | #include <linux/sh_clk.h> | ||
50 | #include <linux/tca6416_keypad.h> | 51 | #include <linux/tca6416_keypad.h> |
51 | #include <linux/usb/renesas_usbhs.h> | 52 | #include <linux/usb/renesas_usbhs.h> |
52 | #include <linux/dma-mapping.h> | 53 | #include <linux/dma-mapping.h> |
@@ -62,6 +63,7 @@ | |||
62 | #include <asm/mach-types.h> | 63 | #include <asm/mach-types.h> |
63 | #include "common.h" | 64 | #include "common.h" |
64 | #include "irqs.h" | 65 | #include "irqs.h" |
66 | #include "pm-rmobile.h" | ||
65 | #include "sh-gpio.h" | 67 | #include "sh-gpio.h" |
66 | 68 | ||
67 | /* | 69 | /* |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7740.h b/arch/arm/mach-shmobile/include/mach/r8a7740.h index 5e3c9ec06303..1d1a5fd78b6b 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7740.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7740.h | |||
@@ -19,8 +19,6 @@ | |||
19 | #ifndef __ASM_R8A7740_H__ | 19 | #ifndef __ASM_R8A7740_H__ |
20 | #define __ASM_R8A7740_H__ | 20 | #define __ASM_R8A7740_H__ |
21 | 21 | ||
22 | #include <mach/pm-rmobile.h> | ||
23 | |||
24 | /* | 22 | /* |
25 | * MD_CKx pin | 23 | * MD_CKx pin |
26 | */ | 24 | */ |
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index 854a9f0ca040..4ad960d5075b 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h | |||
@@ -11,10 +11,6 @@ | |||
11 | #ifndef __ASM_SH7372_H__ | 11 | #ifndef __ASM_SH7372_H__ |
12 | #define __ASM_SH7372_H__ | 12 | #define __ASM_SH7372_H__ |
13 | 13 | ||
14 | #include <linux/sh_clk.h> | ||
15 | #include <linux/pm_domain.h> | ||
16 | #include <mach/pm-rmobile.h> | ||
17 | |||
18 | /* DMA slave IDs */ | 14 | /* DMA slave IDs */ |
19 | enum { | 15 | enum { |
20 | SHDMA_SLAVE_INVALID, | 16 | SHDMA_SLAVE_INVALID, |
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c index a8a0d0506f13..a0d44d537fa0 100644 --- a/arch/arm/mach-shmobile/pm-r8a7740.c +++ b/arch/arm/mach-shmobile/pm-r8a7740.c | |||
@@ -10,8 +10,8 @@ | |||
10 | */ | 10 | */ |
11 | #include <linux/console.h> | 11 | #include <linux/console.h> |
12 | #include <linux/suspend.h> | 12 | #include <linux/suspend.h> |
13 | #include <mach/pm-rmobile.h> | ||
14 | #include "common.h" | 13 | #include "common.h" |
14 | #include "pm-rmobile.h" | ||
15 | 15 | ||
16 | #ifdef CONFIG_PM | 16 | #ifdef CONFIG_PM |
17 | static int r8a7740_pd_a4s_suspend(void) | 17 | static int r8a7740_pd_a4s_suspend(void) |
diff --git a/arch/arm/mach-shmobile/pm-rmobile.c b/arch/arm/mach-shmobile/pm-rmobile.c index f710235aff2f..ebdd16e94a84 100644 --- a/arch/arm/mach-shmobile/pm-rmobile.c +++ b/arch/arm/mach-shmobile/pm-rmobile.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/pm.h> | 17 | #include <linux/pm.h> |
18 | #include <linux/pm_clock.h> | 18 | #include <linux/pm_clock.h> |
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | #include <mach/pm-rmobile.h> | 20 | #include "pm-rmobile.h" |
21 | 21 | ||
22 | /* SYSC */ | 22 | /* SYSC */ |
23 | #define SPDCR IOMEM(0xe6180008) | 23 | #define SPDCR IOMEM(0xe6180008) |
diff --git a/arch/arm/mach-shmobile/include/mach/pm-rmobile.h b/arch/arm/mach-shmobile/pm-rmobile.h index 690553a06887..690553a06887 100644 --- a/arch/arm/mach-shmobile/include/mach/pm-rmobile.h +++ b/arch/arm/mach-shmobile/pm-rmobile.h | |||
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index 0b1b4deca03e..7ef9a0126780 100644 --- a/arch/arm/mach-shmobile/pm-sh7372.c +++ b/arch/arm/mach-shmobile/pm-sh7372.c | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <asm/tlbflush.h> | 26 | #include <asm/tlbflush.h> |
27 | #include <asm/suspend.h> | 27 | #include <asm/suspend.h> |
28 | #include <mach/sh7372.h> | 28 | #include <mach/sh7372.h> |
29 | #include <mach/pm-rmobile.h> | ||
30 | #include "common.h" | 29 | #include "common.h" |
30 | #include "pm-rmobile.h" | ||
31 | 31 | ||
32 | /* DBG */ | 32 | /* DBG */ |
33 | #define DBGREG1 IOMEM(0xe6100020) | 33 | #define DBGREG1 IOMEM(0xe6100020) |
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index d86a128206b3..10170b3560c2 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/sh_timer.h> | 32 | #include <linux/sh_timer.h> |
33 | #include <linux/platform_data/sh_ipmmu.h> | 33 | #include <linux/platform_data/sh_ipmmu.h> |
34 | #include <mach/r8a7740.h> | 34 | #include <mach/r8a7740.h> |
35 | #include <mach/pm-rmobile.h> | ||
36 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
37 | #include <asm/mach/map.h> | 36 | #include <asm/mach/map.h> |
38 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
@@ -40,6 +39,7 @@ | |||
40 | #include "common.h" | 39 | #include "common.h" |
41 | #include "dma-register.h" | 40 | #include "dma-register.h" |
42 | #include "irqs.h" | 41 | #include "irqs.h" |
42 | #include "pm-rmobile.h" | ||
43 | 43 | ||
44 | static struct map_desc r8a7740_io_desc[] __initdata = { | 44 | static struct map_desc r8a7740_io_desc[] __initdata = { |
45 | /* | 45 | /* |
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index 8da836a373fe..5571f867c611 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include "common.h" | 41 | #include "common.h" |
42 | #include "dma-register.h" | 42 | #include "dma-register.h" |
43 | #include "irqs.h" | 43 | #include "irqs.h" |
44 | #include "pm-rmobile.h" | ||
44 | 45 | ||
45 | static struct map_desc sh7372_io_desc[] __initdata = { | 46 | static struct map_desc sh7372_io_desc[] __initdata = { |
46 | /* create a 1:1 entity map for 0xe6xxxxxx | 47 | /* create a 1:1 entity map for 0xe6xxxxxx |