mwifiex: fix build error when CONFIG_PM is not set
authorBing Zhao <bzhao@marvell.com>
Sat, 10 Aug 2013 04:09:06 +0000 (21:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Aug 2013 18:36:55 +0000 (14:36 -0400)
commitd1e2586f484dfc36eee2b2d3a6c6c77be67ca492
treef35286a3a360fbd62237e37d074754d0bca6e085
parent16fe28e9b4a7a5def2b20f79488546b6e2e3f2e7
mwifiex: fix build error when CONFIG_PM is not set

config: make ARCH=m68k allmodconfig

All error/warnings:

   drivers/net/wireless/mwifiex/cfg80211.c: In function
       'mwifiex_fill_coalesce_rule_info':
>> drivers/net/wireless/mwifiex/cfg80211.c:2493:3: error: implicit
       declaration of function 'mwifiex_is_pattern_supported'
       [-Werror=implicit-function-declaration]
   drivers/net/wireless/mwifiex/cfg80211.c: At top level:
   drivers/net/wireless/mwifiex/cfg80211.c:2537:12: warning:
       'mwifiex_cfg80211_set_coalesce' defined but not used
       [-Wunused-function]
   cc1: some warnings being treated as errors

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/cfg80211.c