Re: [PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-20 Thread Jonathan Cameron
On 19/05/17 22:57, Guenter Roeck wrote: On Fri, May 19, 2017 at 2:28 PM, Matthias Kaehlcke wrote: 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

Re: [PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-20 Thread Jonathan Cameron
On 19/05/17 22:57, Guenter Roeck wrote: On Fri, May 19, 2017 at 2:28 PM, Matthias Kaehlcke wrote: 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

Re: [PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-19 Thread Guenter Roeck
On Fri, May 19, 2017 at 2:28 PM, Matthias Kaehlcke wrote: > 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 >

Re: [PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-19 Thread Guenter Roeck
On Fri, May 19, 2017 at 2:28 PM, Matthias Kaehlcke wrote: > 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] > >

[PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-19 Thread Matthias Kaehlcke
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 ---

[PATCH] iio: light: isl29018: Only declare ACPI table when ACPI is enabled

2017-05-19 Thread Matthias Kaehlcke
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 --- drivers/iio/light/isl29018.c | 2 ++