X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcm-bf548%2Fvideo.c;h=4097f09e11a7073dca54fd711a6ea517abbca102;hb=87d93a1ba2ae23550e1370adb7a3b00af0831165;hp=49dbe77da5e587cf17e2726f5a55ae03305dd53c;hpb=8b219cf07c186cc9d97354cf4b14f24a53d193c5;p=u-boot diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c index 49dbe77da5..4097f09e11 100644 --- a/board/cm-bf548/video.c +++ b/board/cm-bf548/video.c @@ -14,9 +14,7 @@ #include #include #include -#include - -int gunzip(void *, int, unsigned char *, unsigned long *); +#include #ifdef CONFIG_VIDEO @@ -291,7 +289,7 @@ void video_puts(const char *s) int drv_video_init(void) { int error, devices = 1; - device_t videodev; + struct stdio_dev videodev; u8 *dst; u32 fbmem_size = @@ -331,7 +329,7 @@ int drv_video_init(void) videodev.putc = video_putc; /* 'putc' function */ videodev.puts = video_puts; /* 'puts' function */ - error = device_register(&videodev); + error = stdio_register(&videodev); return (error == 0) ? devices : error; }