projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2bf0f
)
virtio-pci: add missing 'static'
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 12 May 2012 19:45:22 +0000
(19:45 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 19 May 2012 15:41:14 +0000
(15:41 +0000)
There are no outside references to virtio_portio.
Add missing 'static' specifier.
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/virtio-pci.c
patch
|
blob
|
history
diff --git
a/hw/virtio-pci.c
b/hw/virtio-pci.c
index 4a4413d52c2bd0294974373f5e7b28a479c7d3e2..8a931ced24ad391914209970fde1444c563b5e6c 100644
(file)
--- a/
hw/virtio-pci.c
+++ b/
hw/virtio-pci.c
@@
-491,7
+491,7
@@
static void virtio_pci_config_writel(void *opaque, uint32_t addr, uint32_t val)
virtio_config_writel(proxy->vdev, addr, val);
}
-const MemoryRegionPortio virtio_portio[] = {
+
static
const MemoryRegionPortio virtio_portio[] = {
{ 0, 0x10000, 1, .write = virtio_pci_config_writeb, },
{ 0, 0x10000, 2, .write = virtio_pci_config_writew, },
{ 0, 0x10000, 4, .write = virtio_pci_config_writel, },