diff options
author | Arend van Spriel <[email protected]> | 2015-05-27 19:31:41 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2015-05-28 11:28:41 +0300 |
commit | 00e27eeb75bb91798225cfb1ab9f6b9e13d3d639 (patch) | |
tree | 2a5ce4a9cb6eff66d65020709de0bfd5546bca89 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f3550aeb7fcd893a52ebf89a064fc95be57f29d1 (diff) |
brcmfmac: fix invalid access to struct acpi_device fields
The fields of struct acpi_device are only known when CONFIG_ACPI is
defined. Fix this by using a helper function. This will resolve the
issue found in linux-next:
../brcmfmac/bcmsdh.c: In function 'brcmf_ops_sdio_probe':
../brcmfmac/bcmsdh.c:1139:7: error: dereferencing pointer to incomplete type
adev->flags.power_manageable = 0;
^
Fixes: f0992ace680c ("brcmfmac: prohibit ACPI power management ...")
Cc: Fu, Zhonghui <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions