diff options
| author | Mathieu Malaterre <[email protected]> | 2018-03-10 18:06:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-15 16:42:55 +0000 |
| commit | 219c7b06f3da9ac2b51ed671881b20f1b127daef (patch) | |
| tree | cea1131aa6eff4d640b3642b9ffd56ce9f337764 /lib/test_bitmap.c | |
| parent | serial: stm32: fix initialization of RS485 mode (diff) | |
| download | kernel-219c7b06f3da9ac2b51ed671881b20f1b127daef.tar.gz kernel-219c7b06f3da9ac2b51ed671881b20f1b127daef.zip | |
powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused
Re-use the object-like macro EARLYCON_USED_OR_UNUSED to mark
`earlycon_acpi_spcr_enable` as maybe_unused.
Fix the following warning (treated as error in W=1)
CC arch/powerpc/kernel/setup-common.o
In file included from ./include/linux/serial_8250.h:14:0,
from arch/powerpc/kernel/setup-common.c:33:
./include/linux/serial_core.h:382:19: error: ‘earlycon_acpi_spcr_enable’ defined but not used [-Werror=unused-const-variable=]
static const bool earlycon_acpi_spcr_enable;
^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Mathieu Malaterre <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions
