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/nicrealtek.c b/nicrealtek.c
index d635705..2f51495 100644
--- a/nicrealtek.c
+++ b/nicrealtek.c
@@ -55,7 +55,7 @@
 	return 0;
 }
 
-static int nicrealtek_init(void)
+static int nicrealtek_init(struct flashprog_programmer *const prog)
 {
 	struct pci_dev *dev = NULL;