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/pony_spi.c b/pony_spi.c
index 2d423ef..1b1f939 100644
--- a/pony_spi.c
+++ b/pony_spi.c
@@ -110,7 +110,7 @@
 	return ret;
 }
 
-static int pony_spi_init(void)
+static int pony_spi_init(struct flashprog_programmer *const prog)
 {
 	int i, data_out;
 	char *arg = NULL;