atheros[ar2315-spiflash]: update driver id
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Jun 2014 18:13:43 +0000 (18:13 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Jun 2014 18:13:43 +0000 (18:13 +0000)
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

target/linux/atheros/patches-3.10/100-board.patch
target/linux/atheros/patches-3.10/120-spiflash.patch

index d7bd94a..c6eefeb 100644 (file)
 +
 +static struct platform_device ar2315_spiflash = {
 +      .id = 0,
-+      .name = "spiflash",
++      .name = "ar2315-spiflash",
 +      .resource = ar2315_spiflash_res,
 +      .num_resources = ARRAY_SIZE(ar2315_spiflash_res)
 +};
index 580a503..409721f 100644 (file)
 +}
 +
 +static struct platform_driver spiflash_driver = {
-+      .driver.name = "spiflash",
++      .driver.name = "ar2315-spiflash",
 +      .probe = spiflash_probe,
 +      .remove = spiflash_remove,
 +};