summaryrefslogtreecommitdiff
path: root/drivers/staging/ks7010/ks7010_sdio.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2016-06-17 08:46:52 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-19 02:45:55 (GMT)
commit6ee9169b407f70334f59cdf5a40a72a5d27f0ec2 (patch)
treea4daeee84cb8b28aa23f8e6ae4abe6d135c36fc7 /drivers/staging/ks7010/ks7010_sdio.h
parent0fd9da9a979aecfb9df40dfb3304db2b16fa7e05 (diff)
downloadlinux-6ee9169b407f70334f59cdf5a40a72a5d27f0ec2.tar.xz
staging: ks7010: remove cfg file handling
I verified that all but two settings from the config file can be set up also via 'iwconfig' or 'iwpriv'. The two missing are ROM_FILE and PhyInformationTimer. ROM_FILE can be easily dropped. There is only one known firmware floating on the net, so, the name is fix and we can make this constant. Frankly, I don't know when PhyInformationTimer needs to be set to non-zero. But if we need it somewhen, there is already (currently commented out) code to add this as another private method, so we could use that. Summa summarum: We can remove the config file handling and the example config file. The only useful action, initialization of the configuration struct, is now moved to the sdio main file. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks7010_sdio.h')
-rw-r--r--drivers/staging/ks7010/ks7010_sdio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h
index 987cfa7..815ecf80 100644
--- a/drivers/staging/ks7010/ks7010_sdio.h
+++ b/drivers/staging/ks7010/ks7010_sdio.h
@@ -142,7 +142,6 @@ struct rx_device {
spinlock_t rx_dev_lock;
};
#define ROM_FILE "ks7010sd.rom"
-#define CFG_FILE "ks79xx.cfg"
#define KS_WLAN_DRIVER_VERSION_INFO "ks7010 sdio linux 007"
#endif /* _KS7010_SDIO_H */