[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] sga: fix copypasta
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] sga: fix copypasta |
Date: |
Sun, 08 Jan 2012 22:47:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 |
Add "Fix the name of the init function."?
Am 08.01.2012 22:11, schrieb Blue Swirl:
> Signed-off-by: Blue Swirl <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
This seems independent of the other VGA patches and probably should go
in early for Anthony to rebase his second QOM series onto?
Andreas
> ---
> hw/sga.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/sga.c b/hw/sga.c
> index 7ef750a..ea11937 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)
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg