aboutsummaryrefslogtreecommitdiff
path: root/include/hw/timer
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-27 15:01:49 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-29 21:07:01 +0200
commit29d1ffc3d8ccbc72dfe1e136a69235901d328d86 (patch)
tree571598984022a8bf3ae56751139ead86c8f4ac43 /include/hw/timer
parentfe54d857056b3cf143fe5aebcf56b7c638d62bc0 (diff)
m48t59: QOM cast cleanup for M48t59SysBusState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/timer')
-rw-r--r--include/hw/timer/m48t59.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/timer/m48t59.h b/include/hw/timer/m48t59.h
index 59337faaad..8217522291 100644
--- a/include/hw/timer/m48t59.h
+++ b/include/hw/timer/m48t59.h
@@ -21,6 +21,9 @@ int PPC_NVRAM_set_params (nvram_t *nvram, uint16_t NVRAM_size,
uint32_t initrd_image, uint32_t initrd_size,
uint32_t NVRAM_image,
int width, int height, int depth);
+
+#define TYPE_SYSBUS_M48T59 "m48t59"
+
typedef struct M48t59State M48t59State;
void m48t59_write (void *private, uint32_t addr, uint32_t val);