aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-25 02:37:12 +0000
committerAlexander Graf <agraf@suse.de>2012-03-15 13:12:10 +0100
commitb7c28f02a12c98a4710b5c150b0753d39454101e (patch)
tree33757cc95d598069f0c7080b047a43207c5b6fdd /hw
parentd715ea961254512c6989e17edbfaf959aa7805b0 (diff)
downloadqemu-b7c28f02a12c98a4710b5c150b0753d39454101e.zip
qemu-b7c28f02a12c98a4710b5c150b0753d39454101e.tar.gz
qemu-b7c28f02a12c98a4710b5c150b0753d39454101e.tar.bz2
ppc: Add missing 'static' to spin_rw_ops
spin_rw_ops is only used in hw/ppce500_spin.c. Signed-off-by: Stefan Weil <sw@weilnetz.de> Acked-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppce500_spin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 268f5fd..960b7b0 100644
--- a/hw/ppce500_spin.c
+++ b/hw/ppce500_spin.c
@@ -182,7 +182,7 @@ static uint64_t spin_read(void *opaque, target_phys_addr_t addr, unsigned len)
}
}
-const MemoryRegionOps spin_rw_ops = {
+static const MemoryRegionOps spin_rw_ops = {
.read = spin_read,
.write = spin_write,
.endianness = DEVICE_BIG_ENDIAN,