From 6618f9095c798aff32ce0ca1313dcdc17677745c Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 23 Oct 2011 14:39:46 +0000 Subject: [PATCH] sga: fix copypasta MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix the name of the init function. Reviewed-by: Andreas Färber Signed-off-by: Blue Swirl --- hw/sga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sga.c b/hw/sga.c index 7ef750adf6..ea1193749a 100644 --- a/hw/sga.c +++ b/hw/sga.c @@ -35,7 +35,7 @@ typedef struct ISAGAState { ISADevice dev; } ISASGAState; -static int isa_cirrus_vga_initfn(ISADevice *dev) +static int sga_initfn(ISADevice *dev) { rom_add_vga(SGABIOS_FILENAME); return 0; @@ -45,7 +45,7 @@ static ISADeviceInfo sga_info = { .qdev.name = "sga", .qdev.desc = "Serial Graphics Adapter", .qdev.size = sizeof(ISASGAState), - .init = isa_cirrus_vga_initfn, + .init = sga_initfn, }; static void sga_register(void) -- 2.11.4.GIT