wl12xx: remove unused crc7 references

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>
This commit is contained in:
Eliad Peller 2011-05-18 11:24:16 +03:00 committed by Luciano Coelho
parent 0e44eb2093
commit a011130265
5 changed files with 1 additions and 5 deletions

View File

@ -11,7 +11,6 @@ config WL12XX
depends on WL12XX_MENU && GENERIC_HARDIRQS depends on WL12XX_MENU && GENERIC_HARDIRQS
depends on INET depends on INET
select FW_LOADER select FW_LOADER
select CRC7
---help--- ---help---
This module adds support for wireless adapters based on TI wl1271 and This module adds support for wireless adapters based on TI wl1271 and
TI wl1273 chipsets. This module does *not* include support for wl1251. TI wl1273 chipsets. This module does *not* include support for wl1251.
@ -33,6 +32,7 @@ config WL12XX_HT
config WL12XX_SPI config WL12XX_SPI
tristate "TI wl12xx SPI support" tristate "TI wl12xx SPI support"
depends on WL12XX && SPI_MASTER depends on WL12XX && SPI_MASTER
select CRC7
---help--- ---help---
This module adds support for the SPI interface of adapters using This module adds support for the SPI interface of adapters using
TI wl12xx chipsets. Select this if your platform is using TI wl12xx chipsets. Select this if your platform is using

View File

@ -25,7 +25,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/crc7.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/slab.h> #include <linux/slab.h>

View File

@ -23,7 +23,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/crc7.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/ieee80211.h> #include <linux/ieee80211.h>

View File

@ -23,7 +23,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/crc7.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "wl12xx.h" #include "wl12xx.h"

View File

@ -23,7 +23,6 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/crc7.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/mmc/sdio_func.h> #include <linux/mmc/sdio_func.h>
#include <linux/mmc/sdio_ids.h> #include <linux/mmc/sdio_ids.h>