musicpal: Fix typo in name of local function

The misspelling was spotted by Andreas Färber.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Stefan Weil 2013-07-28 07:54:55 +02:00 committed by Andreas Färber
parent 91b646264e
commit 2c79fed33b

View File

@ -534,7 +534,7 @@ static void lcd_invalidate(void *opaque)
{ {
} }
static void musicpal_lcd_gpio_brigthness_in(void *opaque, int irq, int level) static void musicpal_lcd_gpio_brightness_in(void *opaque, int irq, int level)
{ {
musicpal_lcd_state *s = opaque; musicpal_lcd_state *s = opaque;
s->brightness &= ~(1 << irq); s->brightness &= ~(1 << irq);
@ -619,7 +619,7 @@ static int musicpal_lcd_init(SysBusDevice *dev)
s->con = graphic_console_init(DEVICE(dev), &musicpal_gfx_ops, s); s->con = graphic_console_init(DEVICE(dev), &musicpal_gfx_ops, s);
qemu_console_resize(s->con, 128*3, 64*3); qemu_console_resize(s->con, 128*3, 64*3);
qdev_init_gpio_in(&dev->qdev, musicpal_lcd_gpio_brigthness_in, 3); qdev_init_gpio_in(&dev->qdev, musicpal_lcd_gpio_brightness_in, 3);
return 0; return 0;
} }