* [PATCH] wl1251: rename spi device to wl1251
@ 2009-10-13 17:41 Kalle Valo
2009-10-16 9:51 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2009-10-13 17:41 UTC (permalink / raw)
To: linville; +Cc: linux-wireless
From: Kalle Valo <kalle.valo@nokia.com>
During rename of the driver from wl12xx to wl1251 the spi device name
was accidentally left as wl12xx. Rename it to wl1251 which is the proper
name of the driver.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
---
drivers/net/wireless/wl12xx/wl1251_main.c | 2 +-
drivers/net/wireless/wl12xx/wl1251_spi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index 1103256..23ac503 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -1426,4 +1426,4 @@ EXPORT_SYMBOL_GPL(wl1251_free_hw);
MODULE_DESCRIPTION("TI wl1251 Wireles LAN Driver Core");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Kalle Valo <kalle.valo@nokia.com>");
-MODULE_ALIAS("spi:wl12xx");
+MODULE_ALIAS("spi:wl1251");
diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.c b/drivers/net/wireless/wl12xx/wl1251_spi.c
index 14eff2b..2cf8a21 100644
--- a/drivers/net/wireless/wl12xx/wl1251_spi.c
+++ b/drivers/net/wireless/wl12xx/wl1251_spi.c
@@ -307,7 +307,7 @@ static int __devexit wl1251_spi_remove(struct spi_device *spi)
static struct spi_driver wl1251_spi_driver = {
.driver = {
- .name = "wl12xx",
+ .name = "wl1251",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] wl1251: rename spi device to wl1251
2009-10-13 17:41 [PATCH] wl1251: rename spi device to wl1251 Kalle Valo
@ 2009-10-16 9:51 ` Johannes Berg
2009-10-17 5:59 ` Kalle Valo
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2009-10-16 9:51 UTC (permalink / raw)
To: Kalle Valo; +Cc: linville, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
On Tue, 2009-10-13 at 20:41 +0300, Kalle Valo wrote:
> -MODULE_ALIAS("spi:wl12xx");
> +MODULE_ALIAS("spi:wl1251");
> diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.c b/drivers/net/wireless/wl12xx/wl1251_spi.c
> index 14eff2b..2cf8a21 100644
> --- a/drivers/net/wireless/wl12xx/wl1251_spi.c
> +++ b/drivers/net/wireless/wl12xx/wl1251_spi.c
> @@ -307,7 +307,7 @@ static int __devexit wl1251_spi_remove(struct spi_device *spi)
>
> static struct spi_driver wl1251_spi_driver = {
> .driver = {
> - .name = "wl12xx",
> + .name = "wl1251",
> .bus = &spi_bus_type,
> .owner = THIS_MODULE,
IIRC there's a preprocessor symbol for the module name (MODULE_NAME?)
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] wl1251: rename spi device to wl1251
2009-10-16 9:51 ` Johannes Berg
@ 2009-10-17 5:59 ` Kalle Valo
0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2009-10-17 5:59 UTC (permalink / raw)
To: Johannes Berg; +Cc: linville, linux-wireless
Johannes Berg <johannes@sipsolutions.net> writes:
>> static struct spi_driver wl1251_spi_driver = {
>> .driver = {
>> - .name = "wl12xx",
>> + .name = "wl1251",
>> .bus = &spi_bus_type,
>> .owner = THIS_MODULE,
>
> IIRC there's a preprocessor symbol for the module name (MODULE_NAME?)
Yes, there is DRIVER_NAME macro. I'll send a new patch on top of this
one. Thanks.
--
Kalle Valo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-17 5:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 17:41 [PATCH] wl1251: rename spi device to wl1251 Kalle Valo
2009-10-16 9:51 ` Johannes Berg
2009-10-17 5:59 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox