diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-10-23 14:39:46 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-01-22 07:29:16 +0000 |
commit | 6618f9095c798aff32ce0ca1313dcdc17677745c (patch) | |
tree | 5faeff62bee256357cc30c3bede3e09bbda36a2a /hw/sga.c | |
parent | 3d402831de14d9e23ed8efcfdf81b01a53472fe2 (diff) |
sga: fix copypasta
Fix the name of the init function.
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sga.c')
-rw-r--r-- | hw/sga.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |