forked from Minki/linux
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>
26 lines
615 B
C
26 lines
615 B
C
/*
|
|
* Copyright 2014 Linaro Ltd.
|
|
* Copyright (C) 2014 ZTE Corporation.
|
|
*
|
|
* 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>
|
|
#include <asm/mach/map.h>
|
|
|
|
#include <linux/of_address.h>
|
|
#include <linux/of_platform.h>
|
|
|
|
static const char *const zx296702_dt_compat[] __initconst = {
|
|
"zte,zx296702",
|
|
NULL,
|
|
};
|
|
|
|
DT_MACHINE_START(ZX, "ZTE ZX296702 (Device Tree)")
|
|
.dt_compat = zx296702_dt_compat,
|
|
.l2c_aux_val = 0,
|
|
.l2c_aux_mask = ~0,
|
|
MACHINE_END
|