summaryrefslogtreecommitdiff
path: root/board/cm-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-02 05:52:37 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-02 05:58:39 -0400
commitcb95c7a935ab9b52dac5d08e5ba4007c5a480f97 (patch)
tree89828fbb4045f867327b002bf04dbb7e94b1dc3f /board/cm-bf548
parentc7bcdde46a7ef78628f0f09fdc6cb61bb1bd7e79 (diff)
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 <vapier@gentoo.org>
Diffstat (limited to 'board/cm-bf548')
-rw-r--r--board/cm-bf548/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c
index 49dbe77da5e..078734269d7 100644
--- a/board/cm-bf548/video.c
+++ b/board/cm-bf548/video.c
@@ -14,7 +14,7 @@
#include <asm/mach-common/bits/dma.h>
#include <i2c.h>
#include <linux/types.h>
-#include <devices.h>
+#include <stdio_dev.h>
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;
}