mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-25 11:25:17 +00:00
Blackfin: cm-bf548: fix device->stdio_dev fallout
The recent 52cb4d4fb3
commit which renamed device to stdio_dev missed the
cm-bf548's video board.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
275d49da4a
commit
801f474159
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue