Commit 8dc4cc7b authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

omap_lcdc: rename ppm_save() to omap_ppm_save()



Avoids confusion with the global ppm_save() defined in hw/vga.c.

Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent d663174d
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ static void omap_update_display(void *opaque)
    omap_lcd->invalidate = 0;
}

static int ppm_save(const char *filename, uint8_t *data,
static int omap_ppm_save(const char *filename, uint8_t *data,
                    int w, int h, int linesize)
{
    FILE *f;
@@ -271,7 +271,7 @@ static void omap_screen_dump(void *opaque, const char *filename, bool cswitch,

    omap_update_display(opaque);
    if (omap_lcd && ds_get_data(omap_lcd->state))
        ppm_save(filename, ds_get_data(omap_lcd->state),
        omap_ppm_save(filename, ds_get_data(omap_lcd->state),
                    omap_lcd->width, omap_lcd->height,
                    ds_get_linesize(omap_lcd->state));
}