Re: [PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 27, 2017 at 2:25 AM, Matthias Kaehlcke <mka@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux