summaryrefslogtreecommitdiffstats
path: root/pcidev.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-08 10:13:37 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-08 10:13:37 +0000
commit77bbaaa66852a878ea071c17fa6686e6a276fc5a (patch)
treebea24b22c91729fd1054a4d285bc8f051e5a8f3b /pcidev.c
parente048abdbca5f783e390790135b6c528e59186d45 (diff)
downloadflashrom-77bbaaa66852a878ea071c17fa6686e6a276fc5a.zip
flashrom-77bbaaa66852a878ea071c17fa6686e6a276fc5a.tar.gz
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'pcidev.c')
-rw-r--r--pcidev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcidev.c b/pcidev.c
index 4cb629d..cc08a65 100644
--- a/pcidev.c
+++ b/pcidev.c
@@ -94,7 +94,7 @@ uint32_t pcidev_init(uint16_t vendor_id, uint32_t bar,
/* Filter by vendor and also bb:dd.f (if supplied by the user). */
filter.vendor = vendor_id;
- pcidev_bdf = extract_param(&programmer_param, "pci", ",");
+ pcidev_bdf = extract_programmer_param("pci");
if (pcidev_bdf != NULL) {
if ((msg = pci_filter_parse_slot(&filter, pcidev_bdf))) {
msg_perr("Error: %s\n", msg);
OpenPOWER on IntegriCloud