From 2c79fed33be49cb13c9ce01a6fc42240ee7dedc8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 28 Jul 2013 07:54:55 +0200 Subject: [PATCH] musicpal: Fix typo in name of local function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The misspelling was spotted by Andreas Färber. Signed-off-by: Stefan Weil Reviewed-by: Jan Kiszka Signed-off-by: Andreas Färber --- hw/arm/musicpal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index b06d4426ee..ddddd2749e 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -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; 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); 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; }