summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/pld.c4
-rw-r--r--src/pld/pld.h6
-rw-r--r--src/pld/virtex2.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/pld/pld.c b/src/pld/pld.c
index e0a7eac5..f5f3303a 100644
--- a/src/pld/pld.c
+++ b/src/pld/pld.c
@@ -184,7 +184,7 @@ COMMAND_HANDLER(handle_pld_load_command)
return ERROR_OK;
}
-int pld_init(struct command_context_s *cmd_ctx)
+int pld_init(struct command_context *cmd_ctx)
{
if (!pld_devices)
return ERROR_OK;
@@ -199,7 +199,7 @@ int pld_init(struct command_context_s *cmd_ctx)
return ERROR_OK;
}
-int pld_register_commands(struct command_context_s *cmd_ctx)
+int pld_register_commands(struct command_context *cmd_ctx)
{
pld_cmd = register_command(cmd_ctx, NULL, "pld", NULL, COMMAND_ANY, "programmable logic device commands");
diff --git a/src/pld/pld.h b/src/pld/pld.h
index 4c4c64a7..b183e3e0 100644
--- a/src/pld/pld.h
+++ b/src/pld/pld.h
@@ -31,7 +31,7 @@ struct pld_driver
{
char *name;
__PLD_DEVICE_COMMAND((*pld_device_command));
- int (*register_commands)(struct command_context_s *cmd_ctx);
+ int (*register_commands)(struct command_context *cmd_ctx);
int (*load)(struct pld_device *pld_device, const char *filename);
};
@@ -44,9 +44,9 @@ struct pld_device
struct pld_device *next;
};
-int pld_register_commands(struct command_context_s *cmd_ctx);
+int pld_register_commands(struct command_context *cmd_ctx);
-int pld_init(struct command_context_s *cmd_ctx);
+int pld_init(struct command_context *cmd_ctx);
struct pld_device *get_pld_device_by_num(int num);
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index e2ebb041..24bcd348 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -233,7 +233,7 @@ PLD_DEVICE_COMMAND_HANDLER(virtex2_pld_device_command)
return ERROR_OK;
}
-static int virtex2_register_commands(struct command_context_s *cmd_ctx)
+static int virtex2_register_commands(struct command_context *cmd_ctx)
{
command_t *virtex2_cmd = register_command(cmd_ctx, NULL, "virtex2",
NULL, COMMAND_ANY, "virtex2 specific commands");