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/linux_gpio_spi.c b/linux_gpio_spi.c
index 1e95c16..8ce5b07 100644
--- a/linux_gpio_spi.c
+++ b/linux_gpio_spi.c
@@ -83,7 +83,7 @@
 	return 0;
 }
 
-static int linux_gpio_spi_init(void)
+static int linux_gpio_spi_init(struct flashprog_programmer *const prog)
 {
 	struct linux_gpio_spi *data = NULL;
 	struct gpiod_chip *chip = NULL;