Make id more specific and consistent with others platform drivers.

Signed-off-by: Sergey Ryazanov <[email protected]>
---
 target/linux/atheros/patches-3.10/100-board.patch    | 2 +-
 target/linux/atheros/patches-3.10/120-spiflash.patch | 2 +-
 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,
 +};
-- 
1.8.1.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to