Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1677724
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable |
| Date | 2017-06-29 15:00 +0200 |
| Message-ID | <tXHd7-7Io-9@gated-at.bofh.it> (permalink) |
| References | <tWMyd-15q-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 27, 2017 at 2:25 AM, Matthias Kaehlcke <mka@chromium.org> wrote: > 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> Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable Matthias Kaehlcke <mka@chromium.org> - 2017-06-27 02:30 +0200
Re: [PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable Linus Walleij <linus.walleij@linaro.org> - 2017-06-29 15:00 +0200
Re: [PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable Jonathan Cameron <jic23@kernel.org> - 2017-07-01 14:20 +0200
csiph-web