diff options
Diffstat (limited to 'src/flash/nor/virtual.c')
-rw-r--r-- | src/flash/nor/virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/virtual.c b/src/flash/nor/virtual.c index 217f7a4..fa51537 100644 --- a/src/flash/nor/virtual.c +++ b/src/flash/nor/virtual.c @@ -224,7 +224,7 @@ static int virtual_flash_read(struct flash_bank *bank, return ERROR_OK; } -struct flash_driver virtual_flash = { +const struct flash_driver virtual_flash = { .name = "virtual", .flash_bank_command = virtual_flash_bank_command, .erase = virtual_erase, |