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/ogp_spi.c b/ogp_spi.c
index 5a1b969..5eeda98 100644
--- a/ogp_spi.c
+++ b/ogp_spi.c
@@ -93,7 +93,7 @@
 	.half_period	= 0,
 };
 
-static int ogp_spi_init(void)
+static int ogp_spi_init(struct flashprog_programmer *const prog)
 {
 	struct pci_dev *dev = NULL;
 	char *type;