Search Linux Wireless

Re: [PATCH] wl1251: rename spi device to wl1251

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux