2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/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 wl12xx: move hardcoded hci_io_ds value into the conf struct 2011-04-19 16:49:22 +03:00
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 wl12xx: 1281/1283 support - New radio structs and functions 2011-04-19 16:19:48 +03:00
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 wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
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 wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
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 wl12xx: Clean up the block size alignment code 2011-04-19 16:49:18 +03:00
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 wl12xx: 1281/1283 support - enable chip support 2011-04-19 16:49:03 +03:00
main.c wl12xx: fix compilation error when CONFIG_PM is not set 2011-05-18 16:51:26 -04:00
Makefile wl12xx_sdio_test: rename files to match current style 2010-12-15 17:09:27 +02:00
ps.c wl12xx: avoid premature elp entrance 2011-05-02 10:25:27 +03:00
ps.h wl12xx: enter/exit psm on wowlan suspend/resume 2011-05-13 14:55:49 +03:00
reg.h wl12xx: 1281/1283 support - Add Definitions 2011-04-19 16:19:46 +03:00
rx.c wl12xx: discard corrupted packets in RX 2011-05-02 10:27:25 +03:00
rx.h wl12xx: use standard ALIGN() macro 2011-02-23 11:11:19 +02:00
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 wl12xx: Clamp byte mode transfers for 128x chips 2011-04-19 16:49:07 +03:00
sdio.c wl12xx: fix compilation error when CONFIG_PM is not set 2011-05-18 16:51:26 -04:00
spi.c wl12xx: Handle platforms without level trigger interrupts 2011-04-19 16:49:20 +03:00
testmode.c wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
testmode.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
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 ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition 2011-03-09 16:10:56 -05:00
wl12xx_platform_data.c wl12xx: add platform data passing support 2010-09-21 11:04:57 -04:00
wl12xx.h wl12xx: enter/exit psm on wowlan suspend/resume 2011-05-13 14:55:49 +03:00