projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: video: rk3399: add HDMI TX support on the RK3399
[oweals/u-boot.git]
/
drivers
/
video
/
bus_vcxk.c
diff --git
a/drivers/video/bus_vcxk.c
b/drivers/video/bus_vcxk.c
index 60a5cc5b719f1f39a04cbb2e29db29c9b68ffb70..2f54d3d14743f7fa939e740280a07f180ff3958e 100644
(file)
--- 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)
{
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;
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;
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);
if ((bmp->header.signature[0] == 'B') &&
(bmp->header.signature[1] == 'M')) {
width = le32_to_cpu(bmp->header.width);