From 06ab66cfab317741ab55d164ec3530c08ce1a547 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 16 Mar 2014 19:13:18 +0100 Subject: [PATCH] hw/ide: Add missing 'static' attributes This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- hw/ide/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 91151fc85e..d8b1157c2e 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -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,