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
This commit is contained in:
John Crispin
2014-06-24 18:13:43 +00:00
parent c0fea1303e
commit f5183b03f7
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
+};

View File

@@ -536,7 +536,7 @@
+}
+
+static struct platform_driver spiflash_driver = {
+ .driver.name = "spiflash",
+ .driver.name = "ar2315-spiflash",
+ .probe = spiflash_probe,
+ .remove = spiflash_remove,
+};