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/it8212.c b/it8212.c
index 5657bca..4cf0e80 100644
--- a/it8212.c
+++ b/it8212.c
@@ -46,7 +46,7 @@
 	.chip_writen	= fallback_chip_writen,
 };
 
-static int it8212_init(void)
+static int it8212_init(struct flashprog_programmer *const prog)
 {
 	struct pci_dev *dev = pcidev_init(devs_it8212, PCI_ROM_ADDRESS);
 	if (!dev)