diff --git a/hw/xbox/smbus_xbox_smc.c b/hw/xbox/smbus_xbox_smc.c index 733ff0cc79..389caacaa5 100644 --- a/hw/xbox/smbus_xbox_smc.c +++ b/hw/xbox/smbus_xbox_smc.c @@ -91,7 +91,7 @@ #define SMC_REG_SCRATCH 0x1b #define SMC_REG_SCRATCH_SHORT_ANIMATION 0x04 -static const char *smc_version_string = "P01"; +static const char smc_version_string[] = "P01"; typedef struct SMBusSMCDevice { SMBusDevice smbusdev;