warning fix: remove senseless assignment before bailing out of fn w/error
[fw/openocd] / src / target / etm_dummy.c
index 647774f24de170bb5424c32e5f7d3b17565da649..f9c6fe738080b415634aaa942d5dbe2092e51851 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif
 
-#include "armv4_5.h"
+#include "arm.h"
 #include "etm_dummy.h"
 
 
@@ -61,9 +61,9 @@ COMMAND_HANDLER(handle_etm_dummy_config_command)
 static const struct command_registration etm_dummy_config_command_handlers[] = {
        {
                .name = "config",
-               .handler = &handle_etm_dummy_config_command,
+               .handler = handle_etm_dummy_config_command,
                .mode = COMMAND_CONFIG,
-               .usage = "<target>",
+               .usage = "target",
        },
        COMMAND_REGISTRATION_DONE
 };