Author: blogic
Date: 2014-06-24 20:13:43 +0200 (Tue, 24 Jun 2014)
New Revision: 41324

Modified:
   trunk/target/linux/atheros/patches-3.10/100-board.patch
   trunk/target/linux/atheros/patches-3.10/120-spiflash.patch
Log:
atheros[ar2315-spiflash]: update driver id

Make id more specific and consistent with others platform drivers.

Signed-off-by: Sergey Ryazanov <[email protected]>

Modified: trunk/target/linux/atheros/patches-3.10/100-board.patch
===================================================================
--- trunk/target/linux/atheros/patches-3.10/100-board.patch     2014-06-24 
18:13:39 UTC (rev 41323)
+++ trunk/target/linux/atheros/patches-3.10/100-board.patch     2014-06-24 
18:13:43 UTC (rev 41324)
@@ -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)
 +};

Modified: trunk/target/linux/atheros/patches-3.10/120-spiflash.patch
===================================================================
--- trunk/target/linux/atheros/patches-3.10/120-spiflash.patch  2014-06-24 
18:13:39 UTC (rev 41323)
+++ trunk/target/linux/atheros/patches-3.10/120-spiflash.patch  2014-06-24 
18:13:43 UTC (rev 41324)
@@ -536,7 +536,7 @@
 +}
 +
 +static struct platform_driver spiflash_driver = {
-+      .driver.name = "spiflash",
++      .driver.name = "ar2315-spiflash",
 +      .probe = spiflash_probe,
 +      .remove = spiflash_remove,
 +};
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to