ppc: Add missing 'static' to spin_rw_ops
authorStefan Weil <sw@weilnetz.de>
Sat, 25 Feb 2012 02:37:12 +0000 (02:37 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 15 Mar 2012 12:12:10 +0000 (13:12 +0100)
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>
hw/ppce500_spin.c

index 268f5fdb9c0828b844b942290a219cf537e99ea2..960b7b0c3d19f2bb2e4f9bc8dedba9755a713b3f 100644 (file)
@@ -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,