net: wireless: iwlegacy: fix build error for il_pm_ops
authorYijing Wang <[email protected]>
Fri, 31 May 2013 06:05:32 +0000 (14:05 +0800)
committerJohn W. Linville <[email protected]>
Wed, 12 Jun 2013 14:20:57 +0000 (10:20 -0400)
commit71aa5bba83f81722e7f6bfaeda16b983ba8a0cc2
treeaf9f5ad0eb81366a6ee83179eada272424997155
parent87ccee46fabd235c2bac3652dee009e8f791dc10
net: wireless: iwlegacy: fix build error for il_pm_ops

Fix build error for il_pm_ops if CONFIG_PM is set
but CONFIG_PM_SLEEP is not set.

ERROR: "il_pm_ops" [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined!
ERROR: "il_pm_ops" [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Yijing Wang <[email protected]>
Cc: Stanislaw Gruszka <[email protected]>
Cc: "John W. Linville" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Jingoo Han <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/iwlegacy/common.h