summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-24 18:13:43 +0000
committerJohn Crispin <john@openwrt.org>2014-06-24 18:13:43 +0000
commit78bdfeb30b091871f0edee7b034cddac2ac8608a (patch)
tree4d0e1bfa28a3fed5df5801863cca7382a7099391
parent69e02dadf15ad8ee1c14d880ecb81556476fa4eb (diff)
downloadmtk-20170518-78bdfeb30b091871f0edee7b034cddac2ac8608a.zip
mtk-20170518-78bdfeb30b091871f0edee7b034cddac2ac8608a.tar.gz
mtk-20170518-78bdfeb30b091871f0edee7b034cddac2ac8608a.tar.bz2
atheros[ar2315-spiflash]: update driver id
Make id more specific and consistent with others platform drivers. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41324
-rw-r--r--target/linux/atheros/patches-3.10/100-board.patch2
-rw-r--r--target/linux/atheros/patches-3.10/120-spiflash.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch
index d7bd94a..c6eefeb 100644
--- a/target/linux/atheros/patches-3.10/100-board.patch
+++ b/target/linux/atheros/patches-3.10/100-board.patch
@@ -2536,7 +2536,7 @@
+
+static struct platform_device ar2315_spiflash = {
+ .id = 0,
-+ .name = "spiflash",
++ .name = "ar2315-spiflash",
+ .resource = ar2315_spiflash_res,
+ .num_resources = ARRAY_SIZE(ar2315_spiflash_res)
+};
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index 580a503..409721f 100644
--- a/target/linux/atheros/patches-3.10/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.10/120-spiflash.patch
@@ -536,7 +536,7 @@
+}
+
+static struct platform_driver spiflash_driver = {
-+ .driver.name = "spiflash",
++ .driver.name = "ar2315-spiflash",
+ .probe = spiflash_probe,
+ .remove = spiflash_remove,
+};