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/digilent_spi.c b/digilent_spi.c
index f563bdc..afdbcd3 100644
--- a/digilent_spi.c
+++ b/digilent_spi.c
@@ -371,7 +371,7 @@
 	{ NULL,		0 },
 };
 
-static int digilent_spi_init(void)
+static int digilent_spi_init(struct flashprog_programmer *const prog)
 {
 	char *p;
 	uint32_t speed_hz = spispeeds[0].speed;