ccid_main_functionfs: Fix full chain of IN/OUT EP

which is already sufficient to make pcsc_scan happy and list all
eight cards/slots like

Reader 1: sysmoOCTSIM Test Reader [Osmocom CCID Interface] (2342) 01 00
  Event number: 0
  Card state: Card removed,

Change-Id: I37bd952ef0add662d565150f70e83d85ffd0c254
diff --git a/ccid/ccid_device.c b/ccid/ccid_device.c
index b7077df..e3705ae 100644
--- a/ccid/ccid_device.c
+++ b/ccid/ccid_device.c
@@ -157,7 +157,7 @@
 /* Send given CCID message */
 static int ccid_send(struct ccid_instance *ci, struct msgb *msg)
 {
-	return ci->ops.send_in(ci, msg);
+	return ci->ops->send_in(ci, msg);
 }
 
 /* Send given CCID message for given slot; patch bSlot into message */
@@ -717,3 +717,18 @@
 	/* FIXME */
 	return -1;
 }
+
+void ccid_instance_init(struct ccid_instance *ci, const struct ccid_ops *ops, const char *name,
+			void *priv)
+{
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(ci->slot); i++) {
+		struct ccid_slot *cs = &ci->slot[i];
+		cs->slot_nr = i;
+		cs->ci = ci;
+	}
+	ci->ops= ops;
+	ci->name = name;
+	ci->priv = priv;
+}