aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/120-spiflash.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:03 +0000
commit4348822245705290031f879d45078a4fcc09ab2c (patch)
tree847754987691daacc95cf97d1f14b307d04c326c /target/linux/atheros/patches-3.10/120-spiflash.patch
parent3b68214e570417f35093426576bddfd7425dac1c (diff)
downloadmaster-187ad058-4348822245705290031f879d45078a4fcc09ab2c.tar.gz
master-187ad058-4348822245705290031f879d45078a4fcc09ab2c.tar.bz2
master-187ad058-4348822245705290031f879d45078a4fcc09ab2c.zip
atheros: indent fixes
Various indent fixes suggested by checkpatch: use tabs, use same level of indentation for switch and case, correct indentation levels. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41090 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/120-spiflash.patch')
-rw-r--r--target/linux/atheros/patches-3.10/120-spiflash.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index e91fd41d42..4705d01cb7 100644
--- a/target/linux/atheros/patches-3.10/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.10/120-spiflash.patch
@@ -23,7 +23,7 @@
--- /dev/null
+++ b/drivers/mtd/devices/ar2315.c
-@@ -0,0 +1,514 @@
+@@ -0,0 +1,515 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -114,10 +114,11 @@
+};
+
+struct opcodes {
-+ __u16 code;
-+ __s8 tx_cnt;
-+ __s8 rx_cnt;
++ __u16 code;
++ __s8 tx_cnt;
++ __s8 rx_cnt;
+};
++
+const struct opcodes stm_opcodes[] = {
+ [SPI_WRITE_ENABLE] = {STM_OP_WR_ENABLE, 1, 0},
+ [SPI_WRITE_DISABLE] = {STM_OP_WR_DISABLE, 1, 0},