diff options
author | Simon Glass <sjg@chromium.org> | 2015-05-13 16:02:27 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-06-11 04:26:54 +0300 |
commit | 1c3dbe56f720132723a89709ef5f2baeb52b44d4 (patch) | |
tree | 8b2f24397e38f448ea7c885e623d1b587d1e37f7 /drivers/video/bus_vcxk.c | |
parent | 29748515fd7ba49fe027b39eb184b84f2890631e (diff) | |
download | u-boot-1c3dbe56f720132723a89709ef5f2baeb52b44d4.tar.xz |
Remove typedefs from bmp_layout.h
We try to avoid typedefs and these ones are easy enough to remove. Before
changing this header in the next patch, remove the typedefs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/video/bus_vcxk.c')
-rw-r--r-- | drivers/video/bus_vcxk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c index 60a5cc5b71..2f54d3d147 100644 --- a/drivers/video/bus_vcxk.c +++ b/drivers/video/bus_vcxk.c @@ -358,7 +358,7 @@ void vcxk_draw_mono(unsigned char *dataptr, unsigned long linewidth, int vcxk_display_bitmap(ulong addr, int x, int y) { - bmp_image_t *bmp; + struct bmp_image *bmp; unsigned long width; unsigned long height; unsigned long bpp; @@ -369,7 +369,7 @@ int vcxk_display_bitmap(ulong addr, int x, int y) unsigned long c_height; unsigned char *dataptr; - bmp = (bmp_image_t *) addr; + bmp = (struct bmp_image *)addr; if ((bmp->header.signature[0] == 'B') && (bmp->header.signature[1] == 'M')) { width = le32_to_cpu(bmp->header.width); |