aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:43 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:43 +0000
commitf5183b03f7ef6da62e3a6eab93244665a93b8ffe (patch)
tree7f05c0c2d1090c8709e6e55f8bb14a42471f9302 /target/linux/atheros/patches-3.10
parentc0fea1303ec1237fe4636445d427f7e99a17e4c6 (diff)
downloadupstream-f5183b03f7ef6da62e3a6eab93244665a93b8ffe.tar.gz
upstream-f5183b03f7ef6da62e3a6eab93244665a93b8ffe.tar.bz2
upstream-f5183b03f7ef6da62e3a6eab93244665a93b8ffe.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41324 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10')
-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,
+};