wl1251: rename spi device to wl1251
authorKalle Valo <kalle.valo@nokia.com>
Tue, 13 Oct 2009 17:41:20 +0000 (20:41 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:17 +0000 (16:48 -0400)
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c
drivers/net/wireless/wl12xx/wl1251_spi.c

index 1103256ad989400d2bb65b765731a79f464b00ea..23ac50303757b18671391bf870902faa1598d85d 100644 (file)
@@ -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");
index 14eff2b3d4c63c5a7913b6b0fa7e79c43eeec3b7..2cf8a2169d4321781539e9a337eb82fb22885388 100644 (file)
@@ -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,
        },