vl: constify default_list
It's not modified, let's make it const. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231030101529.105266-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
e93d1e9983
commit
1494a65280
@ -194,7 +194,7 @@ static int default_sdcard = 1;
|
||||
static int default_vga = 1;
|
||||
static int default_net = 1;
|
||||
|
||||
static struct {
|
||||
static const struct {
|
||||
const char *driver;
|
||||
int *flag;
|
||||
} default_list[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user