mirror of https://gitee.com/openkylin/qemu.git
hw/ide: Add missing 'static' attributes
This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
6df05bdd17
commit
06ab66cfab
|
@ -421,7 +421,7 @@ static const VMStateDescription vmstate_bmdma_current = {
|
|||
}
|
||||
};
|
||||
|
||||
const VMStateDescription vmstate_bmdma_status = {
|
||||
static const VMStateDescription vmstate_bmdma_status = {
|
||||
.name ="ide bmdma/status",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
|
|
Loading…
Reference in New Issue