From dd31da467f6bb066fbd809097e7d5dc5822d14e1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Jun 2014 09:06:03 +0000 Subject: 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 SVN-Revision: 41090 --- target/linux/atheros/patches-3.10/120-spiflash.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'target/linux/atheros/patches-3.10/120-spiflash.patch') 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}, -- cgit v1.2.3