kernel-ark/drivers/net/wireless/wl12xx
Luciano Coelho f634a4e707 wl12xx: fix compilation error when CONFIG_PM is not set
There was a compilation error when PM is not enabled:

  CC [M]  drivers/net/wireless/wl12xx/main.o
drivers/net/wireless/wl12xx/main.c:3653: error: unknown field 'suspend' specified in initializer
drivers/net/wireless/wl12xx/main.c:3653: warning: initialization from incompatible pointer type
drivers/net/wireless/wl12xx/main.c:3654: error: unknown field 'resume' specified in initializer
drivers/net/wireless/wl12xx/main.c:3654: warning: initialization from incompatible pointer type

Fix this by adding #ifdef's in the appropriate places.

Cc: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-18 16:51:26 -04:00
..
acx.c Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
acx.h Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
boot.c wl12xx: listen to scheduled scan events 2011-05-13 00:06:32 +03:00
boot.h
cmd.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-16 19:32:19 -04:00
cmd.h
conf.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-16 19:32:19 -04:00
debugfs.c wl12xx: export scheduled scan state in debugfs 2011-05-13 00:06:33 +03:00
debugfs.h
event.c wl12xx: enter/exit psm on wowlan suspend/resume 2011-05-13 14:55:49 +03:00
event.h Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
ini.h
init.c Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
init.h wl12xx: AP-mode - reconfigure templates after basic rates change 2011-05-02 10:31:18 +03:00
io.c
io.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00
Kconfig
main.c wl12xx: fix compilation error when CONFIG_PM is not set 2011-05-18 16:51:26 -04:00
Makefile
ps.c
ps.h wl12xx: enter/exit psm on wowlan suspend/resume 2011-05-13 14:55:49 +03:00
reg.h
rx.c wl12xx: discard corrupted packets in RX 2011-05-02 10:27:25 +03:00
rx.h
scan.c wl12xx: prevent sched_scan when not idle or not in station mode 2011-05-13 00:06:33 +03:00
scan.h wl12xx: add scheduled scan structures and commands 2011-05-13 00:06:33 +03:00
sdio_test.c
sdio.c wl12xx: fix compilation error when CONFIG_PM is not set 2011-05-18 16:51:26 -04:00
spi.c
testmode.c
testmode.h
tx.c wl12xx: fix race condition during recovery in AP mode 2011-05-02 10:31:28 +03:00
tx.h wl12xx: fix race condition during recovery in AP mode 2011-05-02 10:31:28 +03:00
wl12xx_80211.h
wl12xx_platform_data.c
wl12xx.h wl12xx: enter/exit psm on wowlan suspend/resume 2011-05-13 14:55:49 +03:00