Replace the undesignated initializers for each element of
`db2k_boardtypes[]` with an equivalent designated initializer for ease
of future maintenance.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
};
static const struct db2k_boardtype db2k_boardtypes[] = {
- {"ids2", DB2K_SUBSYSTEM_IDS2},
- {"ids4", DB2K_SUBSYSTEM_IDS4},
+ {
+ .name = "ids2",
+ .id = DB2K_SUBSYSTEM_IDS2,
+ },
+ {
+ .name = "ids4",
+ .id = DB2K_SUBSYSTEM_IDS4,
+ },
};
struct db2k_private {