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/pickit2_spi.c b/pickit2_spi.c
index 50e6017..13a47f9 100644
--- a/pickit2_spi.c
+++ b/pickit2_spi.c
@@ -389,7 +389,7 @@
 	return ret;
 }
 
-static int pickit2_spi_init(void)
+static int pickit2_spi_init(struct flashprog_programmer *const prog)
 {
 	uint8_t buf[CMD_LENGTH] = {
 		CMD_EXEC_SCRIPT,