atheros[ar2315-spiflash]: update driver id
authorJohn Crispin <john@openwrt.org>
Tue, 24 Jun 2014 18:13:43 +0000 (18:13 +0000)
committerJohn Crispin <john@openwrt.org>
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>
SVN-Revision: 41324

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

index d7bd94a7697e0d8adfa10ba5ce6ddb688d0ad5d2..c6eefebd1471ecb3f642fa5a73d838bd96321a71 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 580a5038dc1b711116c497eb7d99691d2e8d9815..409721f2c809bbc47fcae01b4ea5628daafeaf80 100644 (file)
 +}
 +
 +static struct platform_driver spiflash_driver = {
-+      .driver.name = "spiflash",
++      .driver.name = "ar2315-spiflash",
 +      .probe = spiflash_probe,
 +      .remove = spiflash_remove,
 +};