summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
index 5e06c6c1e..2bf1e227b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
@@ -39,19 +39,19 @@ static struct mtd_partition ap81_partitions[] = {
.offset = 0,
.size = 0x040000,
.mask_flags = MTD_WRITEABLE,
- } , {
+ }, {
.name = "u-boot-env",
.offset = 0x040000,
.size = 0x010000,
- } , {
+ }, {
.name = "rootfs",
.offset = 0x050000,
.size = 0x500000,
- } , {
+ }, {
.name = "uImage",
.offset = 0x550000,
.size = 0x100000,
- } , {
+ }, {
.name = "ART",
.offset = 0x650000,
.size = 0x1b0000,
@@ -62,8 +62,8 @@ static struct mtd_partition ap81_partitions[] = {
static struct flash_platform_data ap81_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
- .parts = ap81_partitions,
- .nr_parts = ARRAY_SIZE(ap81_partitions),
+ .parts = ap81_partitions,
+ .nr_parts = ARRAY_SIZE(ap81_partitions),
#endif
};
@@ -95,7 +95,7 @@ static struct gpio_button ap81_gpio_buttons[] __initdata = {
.threshold = 3,
.gpio = AP81_GPIO_BTN_SW1,
.active_low = 1,
- } , {
+ }, {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_1,