]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf548-ezkit/video.c
Blackfin: bf527-ezkit/bf548-ezkit: add musb board specific initialization
[karo-tx-uboot.git] / board / bf548-ezkit / video.c
index a6f52bdfef11261b4760163b1efc12f5d4df3b49..10b08e2bf06f724558d09859e0d9991a19fef009 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>
 
 #define DMA_SIZE16     2
 
@@ -282,7 +280,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 = LCD_X_RES * LCD_Y_RES * LCD_PIXEL_SIZE + ACTIVE_VIDEO_MEM_OFFSET;
@@ -321,7 +319,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;
 }