aboutsummaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
commitef746e27c55c14b7a4f6381c490e5c175e409c0b (patch)
treec98f55afdd4a40de64371a04f7d201a47decb7e4 /src/pld
parent98723c4ecdbe06f90c66f3abec27b792c3b38e34 (diff)
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/pld.c2
-rw-r--r--src/pld/virtex2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/pld.c b/src/pld/pld.c
index f5f3303a..fdb276f1 100644
--- a/src/pld/pld.c
+++ b/src/pld/pld.c
@@ -37,7 +37,7 @@ static struct pld_driver *pld_drivers[] =
};
static struct pld_device *pld_devices;
-static command_t *pld_cmd;
+static struct command *pld_cmd;
struct pld_device *get_pld_device_by_num(int num)
{
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index 24bcd348..ea9ee0ce 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -235,7 +235,7 @@ PLD_DEVICE_COMMAND_HANDLER(virtex2_pld_device_command)
static int virtex2_register_commands(struct command_context *cmd_ctx)
{
- command_t *virtex2_cmd = register_command(cmd_ctx, NULL, "virtex2",
+ struct command *virtex2_cmd = register_command(cmd_ctx, NULL, "virtex2",
NULL, COMMAND_ANY, "virtex2 specific commands");
register_command(cmd_ctx, virtex2_cmd, "read_stat",