On Tue, 2012-05-29 at 01:28 -0700, Eyal Shapira wrote: > 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@xxxxxxxxxxxxxx> > Signed-off-by: Eyal Shapira <eyal@xxxxxxxxxx> > --- > v2: reference the correct commit in linux-next (Thanks Stephen!) Thanks for the correction. For v2: Acked-by: Luciano Coelho <coelho@xxxxxx> -- Cheers, Luca. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html