staging: wilc1000: fix build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 5 Feb 2016 09:56:54 +0000 (15:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:03:18 +0000 (22:03 -0800)
commitabb4f8addf1d55f3a63ac84e3d9f609f97e5b9a0
tree5315be4f4dfdc4e5e5321c27da6843c1f7344394
parentc8e9b92d2957a1d49abc7b81ba3f89ad530d617b
staging: wilc1000: fix build failure

allmodconfig build of alpha, m68k, m32r, tilepro has failed with the
error:
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: In function 'wilc_create_wiphy':
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2632:13:
error: 'struct wiphy' has no member named 'wowlan'

Looking at other drivers wowlan can be only used when CONFIG_PM is
defined.

Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211")
Cc: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c