[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 08/10] mac99: Use MACHINE_TYPE_NAME to encode clas
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 08/10] mac99: Use MACHINE_TYPE_NAME to encode class name |
Date: |
Sun, 30 Aug 2015 16:46:50 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Aug 20, 2015 at 02:54:34PM -0700, Eduardo Habkost wrote:
> It will result in exactly the same class name, but it will make the code
> consistent with the other classes.
>
> Cc: Alexander Graf <address@hidden>
> Cc: address@hidden
> Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: David Gibson <address@hidden>
> ---
> hw/ppc/mac_newworld.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
> index 77d5c81..a6b8209 100644
> --- a/hw/ppc/mac_newworld.c
> +++ b/hw/ppc/mac_newworld.c
> @@ -517,7 +517,7 @@ static void core99_machine_class_init(ObjectClass *oc,
> void *data)
> }
>
> static const TypeInfo core99_machine_info = {
> - .name = "mac99-machine",
> + .name = MACHINE_TYPE_NAME("mac99"),
> .parent = TYPE_MACHINE,
> .class_init = core99_machine_class_init,
> };
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpwjcsBCJUCM.pgp
Description: PGP signature