1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ti/wlcore
Eyal Shapira 4161923a24 wlcore: fix undefined symbols when CONFIG_PM is not defined
commit c21eebb503
"wl12xx: add RX filters ACX commands" breaks the build
when CONFIG_PM isn't defined:

ERROR: "wl1271_rx_filter_get_fields_size"
[drivers/net/wireless/ti/wlcore/wlcore.ko] undefined!
ERROR: "wl1271_rx_filter_flatten_fields"
[drivers/net/wireless/ti/wlcore/wlcore.ko] undefined!

code in drivers/net/wireless/ti/wlcore/acx.c is using these
functions unconditionally while they are #ifdefed CONFIG_PM.
Fix it by ifdefing all relevant RX filters code with CONFIG_PM.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-05-29 13:45:23 -04:00
..
acx.c wlcore: fix undefined symbols when CONFIG_PM is not defined 2012-05-29 13:45:23 -04:00
acx.h wlcore: fix undefined symbols when CONFIG_PM is not defined 2012-05-29 13:45:23 -04:00
boot.c wlcore/wl12xx: implement better beacon loss handling 2012-05-15 17:53:25 -04:00
boot.h wlcore/wl12xx: move top initialization to wl12xx 2012-04-12 08:43:57 +03:00
cmd.c wlcore: fix size of two memset's in wl1271_cmd_build_arp_rsp() 2012-05-15 17:53:24 -04:00
cmd.h wlcore/wl12xx: add hw_init operation 2012-04-12 08:44:00 +03:00
conf.h wlcore/wl12xx: use a single memory config and reset if using wl127x 2012-04-12 08:44:01 +03:00
debug.h wlcore/wl12xx: implement chip-specific partition tables 2012-04-12 08:43:56 +03:00
debugfs.c Merge branch 'for-linville' of git://git.kernel.org/pub/scm/linux/kernel/git/luca/wl12xx 2012-04-13 14:28:56 -04:00
debugfs.h wl12xx/wlcore: move wl1271 struct to wlcore and add ops 2012-04-12 08:43:56 +03:00
event.c wlcore/wl12xx: implement better beacon loss handling 2012-05-15 17:53:25 -04:00
event.h wlcore: remove some unnecessary event mailbox address reads 2012-04-12 08:43:58 +03:00
hw_ops.h wlcore/wl12xx: move identify firmware function to a lower driver op 2012-04-12 08:44:02 +03:00
ini.h
init.c wlcore/wl12xx: add hw op for vif init 2012-04-12 08:44:01 +03:00
init.h wl12xx/wlcore: move wl1271 struct to wlcore and add ops 2012-04-12 08:43:56 +03:00
io.c wlcore/wl12xx: move top initialization to wl12xx 2012-04-12 08:43:57 +03:00
io.h wlcore/wl12xx: move top initialization to wl12xx 2012-04-12 08:43:57 +03:00
Kconfig wireless: TI wlxxx depends on MAC80211 2012-05-15 17:53:24 -04:00
main.c wlcore: fix some sparse warnings due to missing static declaration 2012-05-16 13:08:30 -04:00
Makefile
ps.c wlcore: add quirk to disable ELP 2012-04-12 08:43:58 +03:00
ps.h wl12xx/wlcore: move wl1271 struct to wlcore and add ops 2012-04-12 08:43:56 +03:00
rx.c wlcore: fix undefined symbols when CONFIG_PM is not defined 2012-05-29 13:45:23 -04:00
rx.h wlcore: add RX filters driver state mgmt functions 2012-05-15 17:53:23 -04:00
scan.c wl12xx/wlcore: move wl1271 struct to wlcore and add ops 2012-04-12 08:43:56 +03:00
scan.h wl12xx/wlcore: move wl1271 struct to wlcore and add ops 2012-04-12 08:43:56 +03:00
sdio.c wlcore/wl12xx: implement chip-specific register tables 2012-04-12 08:43:56 +03:00
spi.c wlcore/wl12xx: implement chip-specific register tables 2012-04-12 08:43:56 +03:00
testmode.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-04-18 14:27:48 -04:00
testmode.h
tx.c wlcore/wl12xx: turn no-Tx-align quirk into Tx-align 2012-04-12 08:44:00 +03:00
tx.h wlcore/wl12xx: add global elements to convert hw-rates to standard rates 2012-04-12 08:43:59 +03:00
wl12xx.h wl12xx: support wowlan wakeup patterns 2012-05-15 17:53:23 -04:00
wl12xx_80211.h
wl12xx_platform_data.c
wlcore.h wlcore/wl12xx: implement better beacon loss handling 2012-05-15 17:53:25 -04:00