X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fpld%2Fvirtex2.c;h=ec0847fe3e6245e383ee6794edfa87850748a8d2;hp=28cae6cafec8f680c40b01e3cea95f150c7187c3;hb=ca594adb5a71f2bf60c1380172b8e61b075d9479;hpb=9741e126fd854815460296ad47d027129c7f17bf diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 28cae6cafe..ec0847fe3e 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -143,7 +143,7 @@ static int virtex2_read_stat(struct pld_device_s *pld_device, uint32_t *status) return ERROR_OK; } -static int virtex2_load(struct pld_device_s *pld_device, char *filename) +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;