aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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 /target/linux
parent69e02dadf15ad8ee1c14d880ecb81556476fa4eb (diff)
downloadupstream-78bdfeb30b091871f0edee7b034cddac2ac8608a.tar.gz
upstream-78bdfeb30b091871f0edee7b034cddac2ac8608a.tar.bz2
upstream-78bdfeb30b091871f0edee7b034cddac2ac8608a.zip
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
Diffstat (limited to 'target/linux')
-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 d7bd94a769..c6eefebd14 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 580a5038dc..409721f2c8 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,
+};