commit c21eebb50379a96e1335e933583dcd5b455c6b64 "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> |
||
|---|---|---|
| .. | ||
| acx.c | ||
| acx.h | ||
| boot.c | ||
| boot.h | ||
| cmd.c | ||
| cmd.h | ||
| conf.h | ||
| debug.h | ||
| debugfs.c | ||
| debugfs.h | ||
| event.c | ||
| event.h | ||
| hw_ops.h | ||
| ini.h | ||
| init.c | ||
| init.h | ||
| io.c | ||
| io.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| ps.c | ||
| ps.h | ||
| rx.c | ||
| rx.h | ||
| scan.c | ||
| scan.h | ||
| sdio.c | ||
| spi.c | ||
| testmode.c | ||
| testmode.h | ||
| tx.c | ||
| tx.h | ||
| wl12xx_80211.h | ||
| wl12xx_platform_data.c | ||
| wl12xx.h | ||
| wlcore.h | ||