]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
wl12xx: remove unused crc7 references
authorEliad Peller <eliad@wizery.com>
Wed, 18 May 2011 08:24:16 +0000 (11:24 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 07:15:52 +0000 (10:15 +0300)
crc7 is used only in wl12xx_spi.

Remove redundant crc7.h includes, and update Kconfig to select CRC7
only if WL12XX_SPI is being selected.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/Kconfig
drivers/net/wireless/wl12xx/acx.c
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/io.c
drivers/net/wireless/wl12xx/sdio.c

index 35ce7b0f4a609ad5eff9151bf37b4bf0979b5374..07bcb1548d8b2e51ec758372d7ec0a5b52fcbc2d 100644 (file)
@@ -11,7 +11,6 @@ config WL12XX
        depends on WL12XX_MENU && GENERIC_HARDIRQS
        depends on INET
        select FW_LOADER
-       select CRC7
        ---help---
          This module adds support for wireless adapters based on TI wl1271 and
          TI wl1273 chipsets. This module does *not* include support for wl1251.
@@ -33,6 +32,7 @@ config WL12XX_HT
 config WL12XX_SPI
        tristate "TI wl12xx SPI support"
        depends on WL12XX && SPI_MASTER
+       select CRC7
        ---help---
          This module adds support for the SPI interface of adapters using
          TI wl12xx chipsets.  Select this if your platform is using
index edb389d6a298b72dbcbe4f39ba3be25da314f060..b5880eba06e59ed16a735c7e9950e0c62cefe667 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <linux/crc7.h>
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 
index 42935ac726637f31817f63b2101a3a02ac4e3e0d..b3a4f58249b0ddeaf7334e794ffcab0ffd9f1368 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <linux/crc7.h>
 #include <linux/spi/spi.h>
 #include <linux/etherdevice.h>
 #include <linux/ieee80211.h>
index f37a7933f900838b988e81c21b2113aa4674b804..c2da66f45046774e183160bb45f6ef6bc773a5d3 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <linux/crc7.h>
 #include <linux/spi/spi.h>
 
 #include "wl12xx.h"
index 4d5b4ce7a5c6e33453703b0129272ccd59fd9314..6b60caf7e3edaf7ee7ceb4a0a097452d62e8b794 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/irq.h>
 #include <linux/module.h>
-#include <linux/crc7.h>
 #include <linux/vmalloc.h>
 #include <linux/mmc/sdio_func.h>
 #include <linux/mmc/sdio_ids.h>