summaryrefslogtreecommitdiff
path: root/security/smack
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-06-25 10:03:55 +0100
committerLee Jones <lee.jones@linaro.org>2020-07-07 08:13:31 +0100
commit21b2998d4aaeee0c54b6866aba591d8a91213d99 (patch)
tree4186ad1d9c62837166ddd6de959317b1b7d9e331 /security/smack
parentec46855df33973ac6ed646e26cc8977b97cc7cd0 (diff)
downloadlwn-21b2998d4aaeee0c54b6866aba591d8a91213d99.tar.gz
lwn-21b2998d4aaeee0c54b6866aba591d8a91213d99.zip
mfd: axp20x-i2c: Do not define 'struct acpi_device_id' when !CONFIG_ACPI
Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, struct axp20x_i2c_acpi_match becomes defined by unused. This squashes the current W=1 kernel builds warning: drivers/mfd/axp20x-i2c.c:82:36: warning: ‘axp20x_i2c_acpi_match’ defined but not used [-Wunused-const-variable=] Cc: Chen-Yu Tsai <wens@csie.org> Cc: Carlo Caione <carlo@caione.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions