projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use COMMAND_HANDLER macro to define all commands
[fw/openocd]
/
src
/
pld
/
virtex2.c
diff --git
a/src/pld/virtex2.c
b/src/pld/virtex2.c
index fa646505f7cc74cb140eeaf72f8d6fd21e0ea865..3c6d61fe0c496217befa1c33f1b8359ca0def583 100644
(file)
--- a/
src/pld/virtex2.c
+++ b/
src/pld/virtex2.c
@@
-177,8
+177,7
@@
static int virtex2_load(struct pld_device_s *pld_device, const char *filename)
return ERROR_OK;
}
-static int virtex2_handle_read_stat_command(struct command_context_s *cmd_ctx,
- char *cmd, char **args, int argc)
+COMMAND_HANDLER(virtex2_handle_read_stat_command)
{
pld_device_t *device;
virtex2_pld_device_t *virtex2_info;