Skip to content

Commit

Permalink
vga: Rename vga_template.h to vga-helpers.h
Browse files Browse the repository at this point in the history
It's no longer a template, we only instanciate the file once.

Keep it a #included file so the functions remain static.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
  • Loading branch information
ozbenh authored and kraxel committed Sep 30, 2014
1 parent ace89b8 commit e657d8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion hw/display/vga.c
Expand Up @@ -1007,7 +1007,7 @@ void vga_mem_writeb(VGACommonState *s, hwaddr addr, uint32_t val)
typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
const uint8_t *s, int width);

#include "vga_template.h"
#include "vga-helpers.h"

/* return true if the palette was modified */
static int update_palette16(VGACommonState *s)
Expand Down

0 comments on commit e657d8e

Please sign in to comment.