aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-01-06 10:16:37 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-01-08 19:07:21 +0000
commit059ca2bf0d882349aa002e10e3769d25cb923eb4 (patch)
tree266eaa481618ec2fb1396249e85d80feed92c10f /hw
parent4d3da0f3aa5a5d0cbdb17ad49f1baf3cf1bd95a1 (diff)
downloadqemu-059ca2bf0d882349aa002e10e3769d25cb923eb4.zip
qemu-059ca2bf0d882349aa002e10e3769d25cb923eb4.tar.gz
qemu-059ca2bf0d882349aa002e10e3769d25cb923eb4.tar.bz2
char/cadence_uart: Mark struct fields as public/private
As per current QOM conventions. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: a1e31bd62e9709ffb9b3efc6c120f83f30b7a660.1388626249.git.peter.crosthwaite@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/char/cadence_uart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c
index f18db53..a7b2f21 100644
--- a/hw/char/cadence_uart.c
+++ b/hw/char/cadence_uart.c
@@ -110,7 +110,9 @@
#define CADENCE_UART(obj) OBJECT_CHECK(UartState, (obj), TYPE_CADENCE_UART)
typedef struct {
+ /*< private >*/
SysBusDevice parent_obj;
+ /*< public >*/
MemoryRegion iomem;
uint32_t r[R_MAX];