qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/16] ppc: Add missing 'static' to spin_rw_ops


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 03/16] ppc: Add missing 'static' to spin_rw_ops
Date: Thu, 15 Mar 2012 13:14:09 +0100

From: Stefan Weil <address@hidden>

spin_rw_ops is only used in hw/ppce500_spin.c.

Signed-off-by: Stefan Weil <address@hidden>
Acked-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
 hw/ppce500_spin.c |    2 +-
 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,
-- 
1.6.0.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]