]> git.proxmox.com Git - qemu.git/commitdiff
sga: fix copypasta
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 23 Oct 2011 14:39:46 +0000 (14:39 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 22 Jan 2012 07:29:16 +0000 (07:29 +0000)
Fix the name of the init function.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sga.c

index 7ef750adf6d022bb48501f5a5478b31c9b9ce74c..ea1193749ad2e5dd3dc1135ea936a49521817c3e 100644 (file)
--- 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)