summaryrefslogtreecommitdiffstats
path: root/hw/s390x/virtio-ccw.c
diff options
context:
space:
mode:
authorKONRAD Frederic2013-04-24 10:21:18 +0200
committerAnthony Liguori2013-04-24 18:50:20 +0200
commitd51fcfac8aca37f5f10981d2229681474de6304d (patch)
tree3b85f0cdad4aafc7f5f2e7e361d87b2be1066e8f /hw/s390x/virtio-ccw.c
parentvirtio-bus: add new functions. (diff)
downloadqemu-d51fcfac8aca37f5f10981d2229681474de6304d.tar.gz
qemu-d51fcfac8aca37f5f10981d2229681474de6304d.tar.xz
qemu-d51fcfac8aca37f5f10981d2229681474de6304d.zip
virtio-bus: make virtio_x_bus_new static.
virtio_x_bus_new are only used in file scope. So this make them static. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Message-id: 1366791683-5350-3-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
-rw-r--r--hw/s390x/virtio-ccw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index 930531b127..0591dc2fb0 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -27,6 +27,8 @@
#include "virtio-ccw.h"
#include "trace.h"
+static void virtio_ccw_bus_new(VirtioBusState *bus, VirtioCcwDevice *dev);
+
static int virtual_css_bus_reset(BusState *qbus)
{
/* This should actually be modelled via the generic css */
@@ -1060,7 +1062,7 @@ static const TypeInfo virtual_css_bridge_info = {
/* virtio-ccw-bus */
-void virtio_ccw_bus_new(VirtioBusState *bus, VirtioCcwDevice *dev)
+static void virtio_ccw_bus_new(VirtioBusState *bus, VirtioCcwDevice *dev)
{
DeviceState *qdev = DEVICE(dev);
BusState *qbus;