build: add build/src to include path
[fw/openocd] / src / pld / pld.h
index b183e3e052c4ca12cda5bc5f5e71ff15ac66f6be..cd92ff0a4d86119294368427105a9cf8fc0d0c72 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef PLD_H
 #define PLD_H
 
-#include "command.h"
+#include <helper/command.h>
 
 struct pld_device;
 
@@ -31,7 +31,7 @@ struct pld_driver
 {
        char *name;
        __PLD_DEVICE_COMMAND((*pld_device_command));
-       int (*register_commands)(struct command_context *cmd_ctx);
+       const struct command_registration *commands;
        int (*load)(struct pld_device *pld_device, const char *filename);
 };