stlink: handle wrong initialization file if no layout was specified
[fw/openocd] / src / jtag / jtag.h
index f4b89a7ffeaf1845ba00cacb088e214ece886851..aeb7b332db2dd03a8b8c02430ae039bf07259b81 100644 (file)
@@ -156,7 +156,9 @@ struct jtag_tap {
 
        struct jtag_tap* next_tap;
        /* dap instance if some null if no instance , initialized to 0 by calloc*/
-       struct adiv5_dap *dap; 
+       struct adiv5_dap *dap;
+       /* private pointer to support none-jtag specific functions */
+       void *priv;
 };
 
 void jtag_tap_init(struct jtag_tap *tap);