提交 6618f909 编写于 作者: B Blue Swirl

sga: fix copypasta

Fix the name of the init function.
Reviewed-by: NAndreas Färber <afaerber@suse.de>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 3d402831
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册