diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-02 16:20:38 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-10 13:45:39 -0500 |
commit | 8bb86ead0663b098bd9770f457db5b797ae2f071 (patch) | |
tree | 2c59fad9556a87cd06d9ff81a401597b9680a1fa /arch/arm/mach-s3c64xx | |
parent | e62359283cc5ce3264a1634f822822669c6b2d9f (diff) |
ARM: S3C64XX: make regs-gpio-memport.h local
The header can be local in mach-s3c64xx/.
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/pm.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/regs-gpio-memport.h (renamed from arch/arm/mach-s3c64xx/include/mach/regs-gpio-memport.h) | 9 |
3 files changed, 7 insertions, 8 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index d5599694457b..e1a0742b2509 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c | |||
@@ -54,8 +54,6 @@ | |||
54 | #include <mach/regs-gpio.h> | 54 | #include <mach/regs-gpio.h> |
55 | #include <mach/regs-modem.h> | 55 | #include <mach/regs-modem.h> |
56 | 56 | ||
57 | #include <mach/regs-gpio-memport.h> | ||
58 | |||
59 | #include <plat/regs-serial.h> | 57 | #include <plat/regs-serial.h> |
60 | #include <plat/fb.h> | 58 | #include <plat/fb.h> |
61 | #include <plat/sdhci.h> | 59 | #include <plat/sdhci.h> |
@@ -72,6 +70,7 @@ | |||
72 | 70 | ||
73 | #include "common.h" | 71 | #include "common.h" |
74 | #include "crag6410.h" | 72 | #include "crag6410.h" |
73 | #include "regs-gpio-memport.h" | ||
75 | 74 | ||
76 | /* serial port setup */ | 75 | /* serial port setup */ |
77 | 76 | ||
diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c index 7feb426fc202..f4319874ce59 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c | |||
@@ -30,9 +30,10 @@ | |||
30 | #include <mach/regs-gpio.h> | 30 | #include <mach/regs-gpio.h> |
31 | #include <mach/regs-clock.h> | 31 | #include <mach/regs-clock.h> |
32 | #include <mach/regs-syscon-power.h> | 32 | #include <mach/regs-syscon-power.h> |
33 | #include <mach/regs-gpio-memport.h> | ||
34 | #include <mach/regs-modem.h> | 33 | #include <mach/regs-modem.h> |
35 | 34 | ||
35 | #include "regs-gpio-memport.h" | ||
36 | |||
36 | struct s3c64xx_pm_domain { | 37 | struct s3c64xx_pm_domain { |
37 | char *const name; | 38 | char *const name; |
38 | u32 ena; | 39 | u32 ena; |
diff --git a/arch/arm/mach-s3c64xx/include/mach/regs-gpio-memport.h b/arch/arm/mach-s3c64xx/regs-gpio-memport.h index 82342f6fd27d..b927593019f5 100644 --- a/arch/arm/mach-s3c64xx/include/mach/regs-gpio-memport.h +++ b/arch/arm/mach-s3c64xx/regs-gpio-memport.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c64xx/include/mach/regs-gpio-memport.h | 1 | /* |
2 | * | ||
3 | * Copyright 2008 Openmoko, Inc. | 2 | * Copyright 2008 Openmoko, Inc. |
4 | * Copyright 2008 Simtec Electronics | 3 | * Copyright 2008 Simtec Electronics |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
@@ -8,8 +7,8 @@ | |||
8 | * S3C64XX - GPIO memory port register definitions | 7 | * S3C64XX - GPIO memory port register definitions |
9 | */ | 8 | */ |
10 | 9 | ||
11 | #ifndef __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H | 10 | #ifndef __MACH_S3C64XX_REGS_GPIO_MEMPORT_H |
12 | #define __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__ | 11 | #define __MACH_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__ |
13 | 12 | ||
14 | #define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0) | 13 | #define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0) |
15 | #define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4) | 14 | #define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4) |
@@ -21,5 +20,5 @@ | |||
21 | #define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0) | 20 | #define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0) |
22 | #define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4) | 21 | #define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4) |
23 | 22 | ||
24 | #endif /* __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H */ | 23 | #endif /* __MACH_S3C64XX_REGS_GPIO_MEMPORT_H */ |
25 | 24 | ||