mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
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
This commit is contained in:
parent
69e02dadf1
commit
78bdfeb30b
@ -2536,7 +2536,7 @@
|
|||||||
+
|
+
|
||||||
+static struct platform_device ar2315_spiflash = {
|
+static struct platform_device ar2315_spiflash = {
|
||||||
+ .id = 0,
|
+ .id = 0,
|
||||||
+ .name = "spiflash",
|
+ .name = "ar2315-spiflash",
|
||||||
+ .resource = ar2315_spiflash_res,
|
+ .resource = ar2315_spiflash_res,
|
||||||
+ .num_resources = ARRAY_SIZE(ar2315_spiflash_res)
|
+ .num_resources = ARRAY_SIZE(ar2315_spiflash_res)
|
||||||
+};
|
+};
|
||||||
|
@ -536,7 +536,7 @@
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static struct platform_driver spiflash_driver = {
|
+static struct platform_driver spiflash_driver = {
|
||||||
+ .driver.name = "spiflash",
|
+ .driver.name = "ar2315-spiflash",
|
||||||
+ .probe = spiflash_probe,
|
+ .probe = spiflash_probe,
|
||||||
+ .remove = spiflash_remove,
|
+ .remove = spiflash_remove,
|
||||||
+};
|
+};
|
||||||
|
Loading…
Reference in New Issue
Block a user