From: Mike Frysinger Date: Wed, 2 Sep 2009 09:52:37 +0000 (-0400) Subject: Blackfin: cm-bf548: fix device->stdio_dev fallout X-Git-Tag: v2010.09-rc1~1^2~19^2~42^2~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=801f474159494c29d52f9f885af45bdd8b0d3590;p=platform%2Fkernel%2Fu-boot.git Blackfin: cm-bf548: fix device->stdio_dev fallout The recent 52cb4d4fb348 commit which renamed device to stdio_dev missed the cm-bf548's video board. Signed-off-by: Mike Frysinger --- diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c index 49dbe77..0787342 100644 --- a/board/cm-bf548/video.c +++ b/board/cm-bf548/video.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include int gunzip(void *, int, unsigned char *, unsigned long *); @@ -291,7 +291,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 +331,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; }