projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: fix whitespaces nits
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
mach-tl-wa901nd.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c
index da694683948797cb00ec03e882270855efe1b402..3193262c7dbaae4059bfb3378bd19b7dcee632a7 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c
@@
-36,20
+36,20
@@
static struct mtd_partition tl_wa901nd_partitions[] = {
.offset = 0,
.size = 0x020000,
.mask_flags = MTD_WRITEABLE,
.offset = 0,
.size = 0x020000,
.mask_flags = MTD_WRITEABLE,
- }
, {
+ }, {
.name = "kernel",
.offset = 0x020000,
.size = 0x140000,
.name = "kernel",
.offset = 0x020000,
.size = 0x140000,
- }
, {
+ }, {
.name = "rootfs",
.offset = 0x160000,
.size = 0x290000,
.name = "rootfs",
.offset = 0x160000,
.size = 0x290000,
- }
, {
+ }, {
.name = "art",
.offset = 0x3f0000,
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
.name = "art",
.offset = 0x3f0000,
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
- }
, {
+ }, {
.name = "firmware",
.offset = 0x020000,
.size = 0x3d0000,
.name = "firmware",
.offset = 0x020000,
.size = 0x3d0000,
@@
-59,8
+59,8
@@
static struct mtd_partition tl_wa901nd_partitions[] = {
static struct flash_platform_data tl_wa901nd_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
static struct flash_platform_data tl_wa901nd_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
-
.parts = tl_wa901nd_partitions,
-
.nr_parts = ARRAY_SIZE(tl_wa901nd_partitions),
+ .parts = tl_wa901nd_partitions,
+ .nr_parts = ARRAY_SIZE(tl_wa901nd_partitions),
#endif
};
#endif
};
@@
-116,14
+116,14
@@
static void __init tl_wa901nd_setup(void)
ar71xx_add_device_m25p80(&tl_wa901nd_flash_data);
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(tl_wa901nd_leds_gpio),
ar71xx_add_device_m25p80(&tl_wa901nd_flash_data);
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(tl_wa901nd_leds_gpio),
- tl_wa901nd_leds_gpio);
+
tl_wa901nd_leds_gpio);
ar71xx_add_device_gpio_buttons(-1, TL_WA901ND_BUTTONS_POLL_INTERVAL,
ar71xx_add_device_gpio_buttons(-1, TL_WA901ND_BUTTONS_POLL_INTERVAL,
- ARRAY_SIZE(tl_wa901nd_gpio_buttons),
- tl_wa901nd_gpio_buttons);
+
ARRAY_SIZE(tl_wa901nd_gpio_buttons),
+
tl_wa901nd_gpio_buttons);
ap91_pci_init(ee, mac);
}
MIPS_MACHINE(AR71XX_MACH_TL_WA901ND, "TL-WA901ND", "TP-LINK TL-WA901ND",
ap91_pci_init(ee, mac);
}
MIPS_MACHINE(AR71XX_MACH_TL_WA901ND, "TL-WA901ND", "TP-LINK TL-WA901ND",
-
tl_wa901nd_setup);
+ tl_wa901nd_setup);