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/nicintel_spi.c b/nicintel_spi.c
index ed94d93..1de3fd0 100644
--- a/nicintel_spi.c
+++ b/nicintel_spi.c
@@ -265,7 +265,7 @@
 	return 0;
 }
 
-static int nicintel_spi_init(void)
+static int nicintel_spi_init(struct flashprog_programmer *const prog)
 {
 	struct pci_dev *dev = NULL;