X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcore.h;h=8f7dce882d267b07afef52d7a788bf90eff73550;hp=ff14df0a3184852058c7f91a5525ee48a50bdc41;hb=4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7;hpb=8f93c0a3fe29313945a63b3f2154baef70acd796 diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index ff14df0a31..8f7dce882d 100644 --- a/src/flash/nor/core.h +++ b/src/flash/nor/core.h @@ -74,7 +74,7 @@ struct flash_sector */ struct flash_bank { - char *name; + const char *name; struct target *target; /**< Target to which this bank belongs. */