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:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:18 +0000
commit91443b20cabdd9a36d8187d0ec88eb287ef08bf9 (patch)
treecb400461fc9583443b41c9b373f7187748eaf00f /target/linux/atheros/patches-3.10/120-spiflash.patch
parenta1189cbd7d737bb4e7283052d4d028516fa19050 (diff)
downloadupstream-91443b20cabdd9a36d8187d0ec88eb287ef08bf9.tar.gz
upstream-91443b20cabdd9a36d8187d0ec88eb287ef08bf9.tar.bz2
upstream-91443b20cabdd9a36d8187d0ec88eb287ef08bf9.zip
atheros: constify some static structures
Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41094 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.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index a1b36ee37e..7f8acd095e 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,517 @@
+@@ -0,0 +1,519 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -436,7 +436,9 @@
+
+
+#if defined CONFIG_MTD_REDBOOT_PARTS || CONFIG_MTD_MYLOADER_PARTS
-+static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "MyLoader", NULL };
++static const char * const part_probe_types[] = {
++ "cmdlinepart", "RedBoot", "MyLoader", NULL
++};
+#endif
+
+