drivers: net: wireless: add HTC's bcmdhd_4335_mcc
From m7stockui-3.4.10-gef77362.
Modifications from stock HTC driver:
* Remove poorly commented-out CFLAGS section from Makefile
* Make CONFIG_BCMDHD_4335_MCC select WIRELESS_EXT, WEXT_PRIV
* Fix msm_watchdog.h include in dhd_sdio.c
* Our kernel does not need OLD_CFG_80211; removing this flag also
required the following fixes in wl_cfg80211.c
- L292: ifdef out used_default_ssid
- L6698-6702: ifdef out usage of wl_cfg80211_hostapd_sec()
Changes outside of driver: Make necessary additions (and block with
CONFIG_BCMDHD_4335_MCC where appropriate) in:
* drivers/mmc/host/msm_sdcc.c
* include/linux/ieee80211.h
* include/linux/nl80211.h
* include/linux/wlan_plat.h
Change-Id: I405010d3ae0fc3586de2a2aa3ffaab01909ddcde
diff --git a/include/linux/wlan_plat.h b/include/linux/wlan_plat.h
index 40ec348..65d493f 100644
--- a/include/linux/wlan_plat.h
+++ b/include/linux/wlan_plat.h
@@ -22,6 +22,9 @@
void *(*mem_prealloc)(int section, unsigned long size);
int (*get_mac_addr)(unsigned char *buf);
void *(*get_country_code)(char *ccode);
+#ifdef CONFIG_BCMDHD_4335_MCC
+ struct msm_bus_scale_pdata *bus_scale_table;
+#endif
};
#endif