diff options
author | Stephan Guilloux <stephan.guilloux@free.fr> | 2009-01-15 00:48:24 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-01-15 00:48:24 +0000 |
commit | 9982aefc8735f9bad10af463b01ac6ccfa0e2bd1 (patch) | |
tree | 48fa23bd177f6b5d78353ba478c4f2886603463a /chipset_enable.c | |
parent | f9ad0bb5c118af6dda6b9a96e931e59b42b617d2 (diff) | |
download | flashrom-9982aefc8735f9bad10af463b01ac6ccfa0e2bd1.tar.gz flashrom-9982aefc8735f9bad10af463b01ac6ccfa0e2bd1.tar.bz2 flashrom-9982aefc8735f9bad10af463b01ac6ccfa0e2bd1.zip |
Use designated initializers for the board enable table
Similarly to flashchips array, this patch intends to make the table board_pciid_enables more readable.
Corresponding to flashrom svn r382 and coreboot v2 svn r3861.
Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr>
> What real problem does this solve?
1. Next time someone adds a new struct member, we avoid mistakes of
ordering of initializers
2. we avoid mistakes in the first place.
The .x = y stuff was added for a (good) reason, I think this is an
improvement.
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipset_enable.c')
0 files changed, 0 insertions, 0 deletions