Pass programmer context to programmer->init()

Change-Id: I064eb4e25c3d382e4e5bde802306698fafe5e1d0
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/72526
diff --git a/satamv.c b/satamv.c
index 735495c..cefe4c4 100644
--- a/satamv.c
+++ b/satamv.c
@@ -70,7 +70,7 @@
  * 0xc08	PCI BAR2 (Flash/NVRAM) Control
  * 0x1046c	Flash Parameters
  */
-static int satamv_init(void)
+static int satamv_init(struct flashprog_programmer *const prog)
 {
 	struct pci_dev *dev = NULL;
 	uintptr_t addr;