]> git.sur5r.net Git - u-boot/blobdiff - board/cm-bf548/video.c
move prototypes for gunzip() and zunzip() to common.h
[u-boot] / board / cm-bf548 / video.c
index 49dbe77da5e587cf17e2726f5a55ae03305dd53c..4097f09e11a7073dca54fd711a6ea517abbca102 100644 (file)
@@ -14,9 +14,7 @@
 #include <asm/mach-common/bits/dma.h>
 #include <i2c.h>
 #include <linux/types.h>
-#include <devices.h>
-
-int gunzip(void *, int, unsigned char *, unsigned long *);
+#include <stdio_dev.h>
 
 #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;
 }