qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH 1/2] ppc: Add missing 'static' to spin_rw_ops


From: Stefan Weil
Subject: [Qemu-trivial] [PATCH 1/2] ppc: Add missing 'static' to spin_rw_ops
Date: Sat, 25 Feb 2012 13:37:12 +0100

spin_rw_ops is only used in hw/ppce500_spin.c.

Cc: Alexander Graf <address@hidden>
Signed-off-by: Stefan Weil <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 6b8a189..6ed676b 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.7.9




reply via email to

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