qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 01/13] ppc: Add missing 'static' to spin_rw_ops


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 01/13] ppc: Add missing 'static' to spin_rw_ops
Date: Wed, 7 Mar 2012 12:44:35 +0000

From: Stefan Weil <address@hidden>

spin_rw_ops is only used in hw/ppce500_spin.c.

Cc: Alexander Graf <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Acked-by: Andreas Färber <address@hidden>
Signed-off-by: Stefan Hajnoczi <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.1




reply via email to

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