Re: linux-next: build failure after merge of the wireless-drivers-next tree
From: Arend van Spriel
Date: Wed May 27 2015 - 05:08:47 EST
On 05/27/15 04:03, Stephen Rothwell wrote:
Hi Kalle,
After merging the wireless-drivers-next tree, today's linux-next build
(arm multi_v7_defconfig) failed like this:
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_ops_sdio_probe':
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c:1139:7: error: dereferencing pointer to incomplete type
adev->flags.power_manageable = 0;
^
Caused by commit f0992ace680c ("brcmfmac: prohibit ACPI power
management for brcmfmac driver").
I have used the wireless-drivers-next from next-20150526 for today.
Crap. struct acpi_device details are only known when CONFIG_ACPI is set.
The attached patch should fix the issue.
Regards,
Arend