aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.3/207-devices.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-05-15 09:38:05 +0000
committerJohn Crispin <blogic@openwrt.org>2012-05-15 09:38:05 +0000
commite6d50dae7214fd871ccbd8701e95b2afb2a23452 (patch)
treee6e36d814f158ca262853601a794432b4afd99ea /target/linux/lantiq/patches-3.3/207-devices.patch
parent499d5b1ca6ee777cf0d98d36875e0219221afad9 (diff)
downloadmaster-187ad058-e6d50dae7214fd871ccbd8701e95b2afb2a23452.tar.gz
master-187ad058-e6d50dae7214fd871ccbd8701e95b2afb2a23452.tar.bz2
master-187ad058-e6d50dae7214fd871ccbd8701e95b2afb2a23452.zip
[lantiq] code style cleanup of the mach files
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31735 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.3/207-devices.patch')
-rw-r--r--target/linux/lantiq/patches-3.3/207-devices.patch34
1 files changed, 17 insertions, 17 deletions
diff --git a/target/linux/lantiq/patches-3.3/207-devices.patch b/target/linux/lantiq/patches-3.3/207-devices.patch
index f0bc99e91b..693e361f4a 100644
--- a/target/linux/lantiq/patches-3.3/207-devices.patch
+++ b/target/linux/lantiq/patches-3.3/207-devices.patch
@@ -24,7 +24,7 @@
+void __init
+ltq_register_tapi(void)
+{
-+#define CP1_SIZE (1 << 20)
++#define CP1_SIZE (1 << 20)
+ dma_addr_t dma;
+ cp1_base =
+ (void*)CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, &dma, GFP_ATOMIC));
@@ -67,17 +67,17 @@
+/* ebu */
+static struct resource ltq_ebu_resource =
+{
-+ .name = "gpio_ebu",
-+ .start = LTQ_EBU_GPIO_START,
-+ .end = LTQ_EBU_GPIO_START + LTQ_EBU_GPIO_SIZE - 1,
-+ .flags = IORESOURCE_MEM,
++ .name = "gpio_ebu",
++ .start = LTQ_EBU_GPIO_START,
++ .end = LTQ_EBU_GPIO_START + LTQ_EBU_GPIO_SIZE - 1,
++ .flags = IORESOURCE_MEM,
+};
+
+static struct platform_device ltq_ebu =
+{
-+ .name = "ltq_ebu",
-+ .resource = &ltq_ebu_resource,
-+ .num_resources = 1,
++ .name = "ltq_ebu",
++ .resource = &ltq_ebu_resource,
++ .num_resources = 1,
+};
+
+void __init
@@ -109,9 +109,9 @@
+
+static struct resource ltq_spi_resources[] = {
+ {
-+ .start = LTQ_SSC_BASE_ADDR,
-+ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
-+ .flags = IORESOURCE_MEM,
++ .start = LTQ_SSC_BASE_ADDR,
++ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
++ .flags = IORESOURCE_MEM,
+ },
+ IRQ_RES(spi_tx, LTQ_SSC_TIR),
+ IRQ_RES(spi_rx, LTQ_SSC_RIR),
@@ -120,9 +120,9 @@
+
+static struct resource ltq_spi_resources_ar9[] = {
+ {
-+ .start = LTQ_SSC_BASE_ADDR,
-+ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
-+ .flags = IORESOURCE_MEM,
++ .start = LTQ_SSC_BASE_ADDR,
++ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
++ .flags = IORESOURCE_MEM,
+ },
+ IRQ_RES(spi_tx, LTQ_SSC_TIR_AR9),
+ IRQ_RES(spi_rx, LTQ_SSC_RIR_AR9),
@@ -131,9 +131,9 @@
+
+static struct resource ltq_spi_resources_ase[] = {
+ {
-+ .start = LTQ_SSC_BASE_ADDR,
-+ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
-+ .flags = IORESOURCE_MEM,
++ .start = LTQ_SSC_BASE_ADDR,
++ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1,
++ .flags = IORESOURCE_MEM,
+ },
+ IRQ_RES(spi_tx, LTQ_SSC_TIR_ASE),
+ IRQ_RES(spi_rx, LTQ_SSC_RIR_ASE),