aboutsummaryrefslogtreecommitdiffstats
path: root/atahpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'atahpt.c')
-rw-r--r--atahpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atahpt.c b/atahpt.c
index 2ab51a80..5c636d1b 100644
--- a/atahpt.c
+++ b/atahpt.c
@@ -92,7 +92,7 @@ static int atahpt_init(const struct programmer_cfg *cfg)
if (rget_io_perms())
return 1;
- dev = pcidev_init(ata_hpt, PCI_BASE_ADDRESS_4);
+ dev = pcidev_init(cfg, ata_hpt, PCI_BASE_ADDRESS_4);
if (!dev)
return 1;