diff options
author | Mao Zhongyi <maozhongyi@cmss.chinamobile.com> | 2018-10-22 15:40:50 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-29 13:50:15 +0100 |
commit | d436d4e7a50a7c4fddc0569c2107fe5eaf0e1fbc (patch) | |
tree | 6aa330bb37a81db05357aa162a4b0ed23923ffd7 /hw/arm/musicpal.c | |
parent | a8299ec1b243ea56c41648ca63b96930f2db118b (diff) |
audio: use TYPE_MV88W8618_AUDIO instead of hardcoded string
Cc: Jan Kiszka <jan.kiszka@web.de>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181022074050.19638-4-maozhongyi@cmss.chinamobile.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/arm/musicpal.c')
-rw-r--r-- | hw/arm/musicpal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index ac266f9253..9648b3af44 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1693,7 +1693,7 @@ static void musicpal_init(MachineState *machine) } wm8750_dev = i2c_create_slave(i2c, TYPE_WM8750, MP_WM_ADDR); - dev = qdev_create(NULL, "mv88w8618_audio"); + dev = qdev_create(NULL, TYPE_MV88W8618_AUDIO); s = SYS_BUS_DEVICE(dev); object_property_set_link(OBJECT(dev), OBJECT(wm8750_dev), TYPE_WM8750, NULL); |