X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Farm_nandio.c;fp=src%2Fflash%2Farm_nandio.c;h=63eb0413a73b939a0cbef65e5fe6baa08f698919;hb=0f1163e823c6ca3c2a81fa296157f5dde0635fea;hp=4f04831f528b933ee4eb8a602e68f8a282944c40;hpb=d0dee7ccafcf87259fadf6c5de43df8583b0e885;p=openocd.git diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c index 4f04831f52..63eb0413a7 100644 --- a/src/flash/arm_nandio.c +++ b/src/flash/arm_nandio.c @@ -41,7 +41,7 @@ */ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size) { - target_t *target = nand->target; + struct target *target = nand->target; struct armv4_5_algorithm algo; struct arm *armv4_5 = target->arch_info; struct reg_param reg_params[3];