summaryrefslogtreecommitdiffstats
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
commitdd31da467f6bb066fbd809097e7d5dc5822d14e1 (patch)
tree00bc3601cf31444518804e18b45ed4523bb108f7 /target/linux/atheros/patches-3.10/120-spiflash.patch
parent66c64834f84c8b498cf55e1d1fc2b0fb14fefdab (diff)
downloadmaster-31e0f0ae-dd31da467f6bb066fbd809097e7d5dc5822d14e1.tar.gz
master-31e0f0ae-dd31da467f6bb066fbd809097e7d5dc5822d14e1.tar.bz2
master-31e0f0ae-dd31da467f6bb066fbd809097e7d5dc5822d14e1.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> SVN-Revision: 41090
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},