mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
mvebu clean-up changes for v4.1 (part #1)
- Constify the dt_compat table in DT_MACHINE_START -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlT9Re4ACgkQCwYYjhRyO9WLaQCfeTz2auqoPt5vXTJjs9/sXLEL dQIAnjPIpZfLVBnNo1BzK96RUYHEJ20+ =QIYe -----END PGP SIGNATURE----- Merge tag 'mvebu-cleanup-4.1' of git://git.infradead.org/linux-mvebu into next/cleanup Pull "mvebu clean-up changes for v4.1 (part #1)" from Gregory CLEMENT: - Constify the dt_compat table in DT_MACHINE_START * tag 'mvebu-cleanup-4.1' of git://git.infradead.org/linux-mvebu: ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables
This commit is contained in:
commit
4c0714290c
|
|
@ -184,7 +184,7 @@ static void __init mvebu_dt_init(void)
|
|||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||
}
|
||||
|
||||
static const char * const armada_370_xp_dt_compat[] = {
|
||||
static const char * const armada_370_xp_dt_compat[] __initconst = {
|
||||
"marvell,armada-370-xp",
|
||||
NULL,
|
||||
};
|
||||
|
|
@ -205,7 +205,7 @@ DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)")
|
|||
.dt_compat = armada_370_xp_dt_compat,
|
||||
MACHINE_END
|
||||
|
||||
static const char * const armada_375_dt_compat[] = {
|
||||
static const char * const armada_375_dt_compat[] __initconst = {
|
||||
"marvell,armada375",
|
||||
NULL,
|
||||
};
|
||||
|
|
@ -219,7 +219,7 @@ DT_MACHINE_START(ARMADA_375_DT, "Marvell Armada 375 (Device Tree)")
|
|||
.dt_compat = armada_375_dt_compat,
|
||||
MACHINE_END
|
||||
|
||||
static const char * const armada_38x_dt_compat[] = {
|
||||
static const char * const armada_38x_dt_compat[] __initconst = {
|
||||
"marvell,armada380",
|
||||
"marvell,armada385",
|
||||
NULL,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ static void __init dove_init(void)
|
|||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||
}
|
||||
|
||||
static const char * const dove_dt_compat[] = {
|
||||
static const char * const dove_dt_compat[] __initconst = {
|
||||
"marvell,dove",
|
||||
NULL
|
||||
};
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ static void __init kirkwood_dt_init(void)
|
|||
of_platform_populate(NULL, of_default_bus_match_table, auxdata, NULL);
|
||||
}
|
||||
|
||||
static const char * const kirkwood_dt_board_compat[] = {
|
||||
static const char * const kirkwood_dt_board_compat[] __initconst = {
|
||||
"marvell,kirkwood",
|
||||
NULL
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user