summaryrefslogtreecommitdiff
path: root/include/hw/timer/m48t59.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/timer/m48t59.h')
-rw-r--r--include/hw/timer/m48t59.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/timer/m48t59.h b/include/hw/timer/m48t59.h
index db5e43a8da..6f8db04fce 100644
--- a/include/hw/timer/m48t59.h
+++ b/include/hw/timer/m48t59.h
@@ -13,9 +13,7 @@
#define NVRAM(obj) \
INTERFACE_CHECK(Nvram, (obj), TYPE_NVRAM)
-typedef struct Nvram {
- Object parent;
-} Nvram;
+typedef struct Nvram Nvram;
typedef struct NvramClass {
InterfaceClass parent;