From 2b6dcb36c4121ed12fa2fb66f133365bd88f2456 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 8 Jul 2010 10:13:37 +0000 Subject: Unify programmer parameter extraction Make programmer_param static by converting all users to extract_programmer_param. Programmer parameters can no longer be separated with a colon, they have to be separated with a comma. Corresponding to flashrom svn r1072. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher --- dummyflasher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dummyflasher.c') diff --git a/dummyflasher.c b/dummyflasher.c index 456e22de..5f88fc4a 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -37,7 +37,7 @@ int dummy_init(void) msg_pspew("%s\n", __func__); - bustext = extract_param(&programmer_param, "bus", ",:"); + bustext = extract_programmer_param("bus"); msg_pdbg("Requested buses are: %s\n", bustext ? bustext : "default"); if (!bustext) bustext = strdup("parallel+lpc+fwh+spi"); -- cgit v1.2.3