diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2017-06-26 17:25:33 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-07-02 10:24:54 +0100 |
commit | 2aac3388f1682d6208f6759c338a7efa37b0deca (patch) | |
tree | 33de537d62850da75655858d772ecaced6645113 /.gitattributes | |
parent | 893bd0ebfa285bc869ae43484567758fce2f3204 (diff) | |
download | blackbird-op-linux-2aac3388f1682d6208f6759c338a7efa37b0deca.tar.gz blackbird-op-linux-2aac3388f1682d6208f6759c338a7efa37b0deca.zip |
iio: magnetometer: Only declare ACPI table when ACPI is enable
Don't inflate the kernel size with data that isn't used. The conditional
declaration also fixes the following warning when building with clang:
drivers/iio/magnetometer/ak8975.c:704:36: error: variable 'ak_acpi_match'
is not needed and will not be emitted
[-Werror,-Wunneeded-internal-declaration]
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions