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/ch341a_spi.c b/ch341a_spi.c
index 2b6413b..6a2bdfb 100644
--- a/ch341a_spi.c
+++ b/ch341a_spi.c
@@ -421,7 +421,7 @@
 	return 0;
 }
 
-static int ch341a_spi_init(void)
+static int ch341a_spi_init(struct flashprog_programmer *const prog)
 {
 	if (handle != NULL) {
 		msg_cerr("%s: handle already set! Please report a bug at flashprog@flashprog.org\n",