mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
19c233b79d
Init data marked const should be annotated with __initconst for correctness and not __initdata. In some cases the array gathering references to that data has to be marked const as well. This fixes LTO builds that otherwise fail with section mismatch errors. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
18 lines
476 B
C
18 lines
476 B
C
/*
|
|
* Support for Conexant Digicolor SoCs
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
static const char *const digicolor_dt_compat[] __initconst = {
|
|
"cnxt,cx92755",
|
|
NULL,
|
|
};
|
|
|
|
DT_MACHINE_START(DIGICOLOR, "Conexant Digicolor (Flattened Device Tree)")
|
|
.dt_compat = digicolor_dt_compat,
|
|
MACHINE_END
|