From ecd28131d7ba98c29438f6d78756e894f3177b7b Mon Sep 17 00:00:00 2001 From: hailfinger Date: Mon, 7 Mar 2011 01:08:09 +0000 Subject: Simplify pcidev_init by killing the vendorid parameter which was pretty useless anyway since it was present in the pcidevs parameter as well. This also allows us to handle multiple programmers with different vendor IDs in the same driver. Fix compilation of flashrom with only the nicrealtek driver. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1274 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- satamv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'satamv.c') diff --git a/satamv.c b/satamv.c index d7db7e9..2e5af6c 100644 --- a/satamv.c +++ b/satamv.c @@ -67,7 +67,7 @@ int satamv_init(void) /* No need to check for errors, pcidev_init() will not return in case * of errors. */ - addr = pcidev_init(0x11ab, PCI_BASE_ADDRESS_0, satas_mv); + addr = pcidev_init(PCI_BASE_ADDRESS_0, satas_mv); mv_bar = physmap("Marvell 88SX7042 registers", addr, 0x20000); if (mv_bar == ERROR_PTR) -- cgit v1.2.1