diff options
author | Luciano Coelho | 2011-05-18 16:51:26 -0400 |
---|---|---|
committer | David S. Miller | 2011-05-18 16:51:26 -0400 |
commit | f634a4e7074f66ac3dfaf2cc6786e0ec3080a2d1 (patch) | |
tree | 40f377217726faae85b9c67f88a634bd930359fa /drivers/s390 | |
parent | b56269468483a0255a27126ebc2ae7e321638d7b (diff) |
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions