[PATCH] staging: wilc1000: Fix compilation error when CONFIG_PM disabled

Greg KH gregkh at linuxfoundation.org
Sun Feb 7 06:02:59 UTC 2016


On Fri, Feb 05, 2016 at 02:40:27PM +0900, Glen Lee wrote:
> Commit 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in
> cfg80211") causes following compilation error. This patch fixes this by
> using suspend/resume under CONFIG_PM.
> 
> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: In function
> 'wilc_create_wiphy':
> >> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2833:13: error:
> 'struct wiphy' has no member named 'wowlan'
>      wdev->wiphy->wowlan = &wowlan_support;
> 
> Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211")
> Reported-by: kbuild test robot <fengguang.wu at intel.com>
> Signed-off-by: Glen Lee <glen.lee at atmel.com>
> ---
>  drivers/staging/wilc1000/wilc_sdio.c              | 4 ++++
>  drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 ++++++++-
>  drivers/staging/wilc1000/wilc_wfi_netdevice.h     | 2 ++
>  3 files changed, 14 insertions(+), 1 deletion(-)

Patch doesn't apply :(



More information about the devel mailing list