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/dirtyjtag_spi.c b/dirtyjtag_spi.c
index adedc0d..06099de 100644
--- a/dirtyjtag_spi.c
+++ b/dirtyjtag_spi.c
@@ -279,7 +279,7 @@
 	.probe_opcode	= default_spi_probe_opcode,
 };
 
-static int dirtyjtag_spi_init(void)
+static int dirtyjtag_spi_init(struct flashprog_programmer *const prog)
 {
 	struct spi_master dirtyjtag_spi = spi_master_dirtyjtag_spi;
 	struct libusb_device_handle *handle = NULL;