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>
This commit is contained in:
parent
3d402831de
commit
6618f9095c
4
hw/sga.c
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user