Revision 81a322d4 hw/arm_sysctl.c
b/hw/arm_sysctl.c | ||
---|---|---|
189 | 189 |
arm_sysctl_write |
190 | 190 |
}; |
191 | 191 |
|
192 |
static void arm_sysctl_init1(SysBusDevice *dev)
|
|
192 |
static int arm_sysctl_init1(SysBusDevice *dev)
|
|
193 | 193 |
{ |
194 | 194 |
arm_sysctl_state *s = FROM_SYSBUS(arm_sysctl_state, dev); |
195 | 195 |
int iomemtype; |
... | ... | |
201 | 201 |
arm_sysctl_writefn, s); |
202 | 202 |
sysbus_init_mmio(dev, 0x1000, iomemtype); |
203 | 203 |
/* ??? Save/restore. */ |
204 |
return 0; |
|
204 | 205 |
} |
205 | 206 |
|
206 | 207 |
/* Legacy helper function. */ |
Also available in: Unified diff