summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-08-31 16:19:50 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-08-31 16:19:50 +0000
commit97d5b126c635ec6ad2fd3ef44deec245669ad942 (patch)
tree81c4d21919d2bb35c7d74d628ad4e338543ad9f8 /print.c
parentbd0c70ae17d1513b301d8f50653db489a4ad5fbf (diff)
downloadast2050-flashrom-97d5b126c635ec6ad2fd3ef44deec245669ad942.zip
ast2050-flashrom-97d5b126c635ec6ad2fd3ef44deec245669ad942.tar.gz
Shorten some board enable related function names
Corresponding to flashrom svn r1424. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.c b/print.c
index f0bd477..5bd75ec 100644
--- a/print.c
+++ b/print.c
@@ -203,7 +203,7 @@ static void print_supported_boards_helper(const struct board_info *boards,
const char *devicetype)
{
int i, boardcount_good = 0, boardcount_bad = 0;
- const struct board_pciid_enable *e = board_pciid_enables;
+ const struct board_match *e = board_matches;
const struct board_info *b = boards;
int maxvendorlen = strlen("Vendor") + 1;
int maxboardlen = strlen("Board") + 1;
@@ -241,7 +241,7 @@ static void print_supported_boards_helper(const struct board_info *boards,
msg_ginfo(" ");
msg_ginfo((b->working) ? "OK " : "BAD ");
- for (e = board_pciid_enables; e->vendor_name != NULL; e++) {
+ for (e = board_matches; e->vendor_name != NULL; e++) {
if (strcmp(e->vendor_name, b->vendor)
|| strcmp(e->board_name, b->name))
continue;
OpenPOWER on IntegriCloud