X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fpld%2Fvirtex2.c;h=7a44065cf911546929709216235f30655ff6195f;hp=56b4eee74e7939fd377f94a0c7bdc63bce2b2305;hb=cd4c0598060dc6539604c9cad8cb645aa14b4ab1;hpb=d0809ac060b35a04e7f0bceb96e1868663bd18df diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 56b4eee74e..7a44065cf9 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -134,7 +134,7 @@ static int virtex2_read_stat(struct pld_device_s *pld_device, uint32_t *status) static int virtex2_load(struct pld_device_s *pld_device, const char *filename) { virtex2_pld_device_t *virtex2_info = pld_device->driver_priv; - xilinx_bit_file_t bit_file; + struct xilinx_bit_file bit_file; int retval; unsigned int i; struct scan_field field; @@ -245,7 +245,7 @@ static int virtex2_register_commands(struct command_context_s *cmd_ctx) return ERROR_OK; } -pld_driver_t virtex2_pld = { +struct pld_driver virtex2_pld = { .name = "virtex2", .register_commands = &virtex2_register_commands, .pld_device_command = &virtex2_pld_device_command,