Commit 112b20a1 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] ARC: Convert mach_table[] to ISO C initializers.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 99977c1e
...@@ -28,46 +28,54 @@ struct smatch { ...@@ -28,46 +28,54 @@ struct smatch {
}; };
static struct smatch mach_table[] = { static struct smatch mach_table[] = {
{ "SGI-IP22", {
"SGI Indy", .arcname = "SGI-IP22",
MACH_GROUP_SGI, .liname = "SGI Indy",
MACH_SGI_IP22, .group = MACH_GROUP_SGI,
PROM_FLAG_ARCS .type = MACH_SGI_IP22,
}, { "SGI-IP27", .flags = PROM_FLAG_ARCS,
"SGI Origin", }, {
MACH_GROUP_SGI, .arcname = "SGI-IP27",
MACH_SGI_IP27, .liname = "SGI Origin",
PROM_FLAG_ARCS .group = MACH_GROUP_SGI,
}, { "SGI-IP28", .type = MACH_SGI_IP27,
"SGI IP28", .flags = PROM_FLAG_ARCS,
MACH_GROUP_SGI, }, {
MACH_SGI_IP28, .arcname = "SGI-IP28",
PROM_FLAG_ARCS .liname = "SGI IP28",
}, { "SGI-IP30", .group = MACH_GROUP_SGI,
"SGI Octane", .type = MACH_SGI_IP28,
MACH_GROUP_SGI, .flags = PROM_FLAG_ARCS,
MACH_SGI_IP30, }, {
PROM_FLAG_ARCS .arcname = "SGI-IP30",
}, { "SGI-IP32", .liname = "SGI Octane",
"SGI O2", .group = MACH_GROUP_SGI,
MACH_GROUP_SGI, .type = MACH_SGI_IP30,
MACH_SGI_IP32, .flags = PROM_FLAG_ARCS,
PROM_FLAG_ARCS }, {
}, { "Microsoft-Jazz", .arcname = "SGI-IP32",
"Jazz MIPS_Magnum_4000", .liname = "SGI O2",
MACH_GROUP_JAZZ, .group = MACH_GROUP_SGI,
MACH_MIPS_MAGNUM_4000, .type = MACH_SGI_IP32,
0 .flags = PROM_FLAG_ARCS,
}, { "PICA-61", }, {
"Jazz Acer_PICA_61", .arcname = "Microsoft-Jazz",
MACH_GROUP_JAZZ, .liname = "Jazz MIPS_Magnum_4000",
MACH_ACER_PICA_61, .group = MACH_GROUP_JAZZ,
0 .type = MACH_MIPS_MAGNUM_4000,
}, { "RM200PCI", .flags = 0,
"SNI RM200_PCI", }, {
MACH_GROUP_SNI_RM, .arcname = "PICA-61",
MACH_SNI_RM200_PCI, .liname = "Jazz Acer_PICA_61",
PROM_FLAG_DONT_FREE_TEMP .group = MACH_GROUP_JAZZ,
.type = MACH_ACER_PICA_61,
.flags = 0,
}, {
.arcname = "RM200PCI",
.liname = "SNI RM200_PCI",
.group = MACH_GROUP_SNI_RM,
.type = MACH_SNI_RM200_PCI,
.flags = PROM_FLAG_DONT_FREE_TEMP,
} }
}; };
......
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