Просмотр исходного кода

atheros[ar2315-spiflash]: update driver id

Make id more specific and consistent with others platform drivers.

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

SVN-Revision: 41324
John Crispin 11 лет назад
Родитель
Сommit
78bdfeb30b

+ 1 - 1
target/linux/atheros/patches-3.10/100-board.patch

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

+ 1 - 1
target/linux/atheros/patches-3.10/120-spiflash.patch

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