commit | 14b39dce373191f8fd7a703a643dccf0f97f0323 | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <mka@chromium.org> | Fri May 19 14:28:53 2017 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat May 20 17:07:09 2017 +0100 |
tree | d87c7688f2d8cb07e7cf2ef351f266d41ecfa19d | |
parent | 138bc7969c24c6cbba28e919c2376ad10a46fc60 [diff] |
iio: light: isl29018: Only declare ACPI table when ACPI is enabled This fixes the following warning when building with clang: drivers/iio/light/isl29018.c:808:36: error: variable 'isl29018_acpi_match' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>