X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Farm_nandio.c;h=63dcaebbb3a2b81696113d33489c372e633f6bd2;hp=0453656eac112cd19e77f29a8eb4188e976fbdee;hb=15e8e4530866454c18c5d91ad9e867f339c2e82b;hpb=056fcdb540f0ab9a404f3b5de72fd707eb146603 diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c index 0453656eac..63dcaebbb3 100644 --- a/src/flash/arm_nandio.c +++ b/src/flash/arm_nandio.c @@ -42,7 +42,7 @@ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size) { target_t *target = nand->target; - armv4_5_algorithm_t algo; + struct armv4_5_algorithm algo; armv4_5_common_t *armv4_5 = target->arch_info; struct reg_param reg_params[3]; uint32_t target_buf;