From 37a4f00e4165327c71a2e2e8d3f8049bb51386ee Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 29 May 2015 09:43:02 -0300 Subject: [PATCH] atusb/fw/flash.c (flash_ops): fix placement of "const" --- atusb/fw/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atusb/fw/flash.c b/atusb/fw/flash.c index 9af06eb..136f3da 100644 --- a/atusb/fw/flash.c +++ b/atusb/fw/flash.c @@ -85,7 +85,7 @@ static uint16_t flash_read(uint8_t *buf, uint16_t size) } -const static struct dfu_flash_ops flash_ops = { +static const struct dfu_flash_ops flash_ops = { .start = flash_start, .can_write = flash_can_write, .write = flash_write,