summaryrefslogtreecommitdiff
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
commita6cf23b76c5c16bb81471540d95509a6df3e9d66 (patch)
treeff226935b31bd6e26cde11ce7da00c9cf5335407 /target/linux/atheros/patches-3.10/120-spiflash.patch
parentf363db009481d43854f0d2f597a50c7a7ef0974e (diff)
downloadmtk-20170518-a6cf23b76c5c16bb81471540d95509a6df3e9d66.zip
mtk-20170518-a6cf23b76c5c16bb81471540d95509a6df3e9d66.tar.gz
mtk-20170518-a6cf23b76c5c16bb81471540d95509a6df3e9d66.tar.bz2
atheros: constify some static structures
Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41094
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 a1b36ee..7f8acd0 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
+
+