mwifiex: fix [-Wunused-function] warnings on pcie suspend/resume
authorBing Zhao <bzhao@marvell.com>
Tue, 5 Mar 2013 00:27:54 +0000 (16:27 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Mar 2013 21:29:07 +0000 (16:29 -0500)
commit8509e82064319d175192837355a92653e1517798
tree045c71a32920cab9e7e6308b639c34e1e3dc6eba
parentfcca8d5ae5991a3ef18d9eceeb6e22caad36ab7d
mwifiex: fix [-Wunused-function] warnings on pcie suspend/resume

drivers/net/wireless/mwifiex/pcie.c:204:12: warning:
  'mwifiex_pcie_resume' defined but not used [-Wunused-function]
drivers/net/wireless/mwifiex/pcie.c:166:12: warning:
  'mwifiex_pcie_suspend' defined but not used [-Wunused-function]

The suspend/resume handlers ought to be under CONFIG_PM directive.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c