Commit dc1473dc authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Benjamin Herrenschmidt

powerpc/legacy_serial: Fix incorrect placement of __initdata tag

__initdata tag should be placed between the variable name and equal
sign for the variable to be placed in the intended .init.data section.
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 32dda05f
...@@ -35,7 +35,7 @@ static struct legacy_serial_info { ...@@ -35,7 +35,7 @@ static struct legacy_serial_info {
phys_addr_t taddr; phys_addr_t taddr;
} legacy_serial_infos[MAX_LEGACY_SERIAL_PORTS]; } legacy_serial_infos[MAX_LEGACY_SERIAL_PORTS];
static struct __initdata of_device_id legacy_serial_parents[] = { static struct of_device_id legacy_serial_parents[] __initdata = {
{.type = "soc",}, {.type = "soc",},
{.type = "tsi-bridge",}, {.type = "tsi-bridge",},
{.type = "opb", }, {.type = "opb", },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment