sst96: constified iRegNames[]

This commit is contained in:
sezero
2018-08-06 13:55:02 +03:00
parent ef5108ae49
commit f053d6b0cf
4 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ typedef struct {
extern Init96HALData *curHALData;
extern char *iRegNames[];
extern const char *iRegNames[];
extern volatile FxU32 *sstHW;
extern volatile Sstregs *sstPtr;

View File

@@ -184,7 +184,7 @@ static void init96SetupRendering(InitRegisterDesc *regDesc,
This array is HIGHLY important to debugging. Delete it at your
extreme peril.
*/
char *iRegNames[] = {
const char *iRegNames[] = {
"status", /* 0x00 */
"reserved001", /* 0x01 */
"vAx", /* 0x02 */

View File

@@ -89,7 +89,7 @@ typedef struct {
extern Init96HALData *curHALData;
extern char *iRegNames[];
extern const char *iRegNames[];
extern volatile FxU32 *sstHW;
extern volatile Sstregs *sstPtr;

View File

@@ -191,7 +191,7 @@ fifoMTRRNum = 0xffffffff;
This array is HIGHLY important to debugging. Delete it at your
extreme peril.
*/
char *iRegNames[] = {
const char *iRegNames[] = {
"status", /* 0x00 */
"reserved001", /* 0x01 */
"vAx", /* 0x02 */