From: blogic Date: Tue, 24 Jun 2014 18:13:43 +0000 (+0000) Subject: atheros[ar2315-spiflash]: update driver id X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=4fc0500f2722c817d94ddbb0a2043c9e58980942;p=openwrt.git atheros[ar2315-spiflash]: update driver id Make id more specific and consistent with others platform drivers. Signed-off-by: Sergey Ryazanov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41324 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch index d7bd94a769..c6eefebd14 100644 --- a/target/linux/atheros/patches-3.10/100-board.patch +++ b/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) +}; diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch index 580a5038dc..409721f2c8 100644 --- a/target/linux/atheros/patches-3.10/120-spiflash.patch +++ b/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, +};