summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-clps711x
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-clps711x')
-rw-r--r--kernel/arch/arm/mach-clps711x/board-autcpu12.c2
-rw-r--r--kernel/arch/arm/mach-clps711x/board-cdb89712.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/arch/arm/mach-clps711x/board-autcpu12.c b/kernel/arch/arm/mach-clps711x/board-autcpu12.c
index 45abf6bd5..c3d964221 100644
--- a/kernel/arch/arm/mach-clps711x/board-autcpu12.c
+++ b/kernel/arch/arm/mach-clps711x/board-autcpu12.c
@@ -160,7 +160,7 @@ static struct platform_device autcpu12_mmgpio_pdev __initdata = {
},
};
-static const struct gpio autcpu12_gpios[] __initconst = {
+static const struct gpio const autcpu12_gpios[] __initconst = {
{ AUTCPU12_DPOT_CS, GPIOF_OUT_INIT_HIGH, "DPOT CS" },
{ AUTCPU12_DPOT_CLK, GPIOF_OUT_INIT_LOW, "DPOT CLK" },
{ AUTCPU12_DPOT_UD, GPIOF_OUT_INIT_LOW, "DPOT UD" },
diff --git a/kernel/arch/arm/mach-clps711x/board-cdb89712.c b/kernel/arch/arm/mach-clps711x/board-cdb89712.c
index 1ec378c33..972abdb10 100644
--- a/kernel/arch/arm/mach-clps711x/board-cdb89712.c
+++ b/kernel/arch/arm/mach-clps711x/board-cdb89712.c
@@ -95,7 +95,7 @@ static struct physmap_flash_data cdb89712_bootrom_pdata __initdata = {
static struct resource cdb89712_bootrom_resources[] __initdata = {
DEFINE_RES_NAMED(CS7_PHYS_BASE, SZ_128, "BOOTROM", IORESOURCE_MEM |
- IORESOURCE_CACHEABLE | IORESOURCE_READONLY),
+ IORESOURCE_READONLY),
};
static struct platform_device cdb89712_bootrom_pdev __initdata = {