Am 01.07.2013 11:29, schrieb Peter Crosthwaite: > On Mon, Jul 1, 2013 at 7:00 AM, Andreas Färber <afaer...@suse.de> wrote: >> From: Andreas Färber <andreas.faer...@web.de> >> >> Introduce type constant and cast macro and rename >> ARMMPTimerState::busdev to enforce its use. >> >> Signed-off-by: Andreas Färber <andreas.faer...@web.de> >> --- >> hw/timer/arm_mptimer.c | 18 +++++++++++++----- >> 1 file changed, 13 insertions(+), 5 deletions(-) >> >> diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c >> index 317f5e4..588e34b 100644 >> --- a/hw/timer/arm_mptimer.c >> +++ b/hw/timer/arm_mptimer.c >> @@ -40,8 +40,15 @@ typedef struct { >> MemoryRegion iomem; >> } TimerBlock; >> >> +#define TYPE_ARM_MP_TIMER "arm_mptimer" > > The _ in "MP_TIMER" seems inconsistent with the type string and > "A9MPCORE" as introduced in P1.
It is consistent with "PC_NET" though. ;) I can surely change it to "MPTIMER" if preferred. Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg