From ef746e27c55c14b7a4f6381c490e5c175e409c0b Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 13:30:50 -0800 Subject: command_t -> struct command Remove misleading typedef and redundant suffix from struct command. --- src/pld/pld.c | 2 +- src/pld/virtex2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pld') 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", -- cgit v1.2.3