mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
video: Drop DEV_EXT_VIDEO flag
DEV_EXT_VIDEO does not have any actual meaning, hence drop it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
1caf934a05
commit
4b6d09449f
7 changed files with 0 additions and 7 deletions
|
@ -1089,7 +1089,6 @@ int drv_video_init (void)
|
|||
memset (&videodev, 0, sizeof (videodev));
|
||||
|
||||
strcpy (videodev.name, "video");
|
||||
videodev.ext = DEV_EXT_VIDEO; /* Video extensions */
|
||||
videodev.flags = DEV_FLAGS_OUTPUT; /* Output only */
|
||||
videodev.putc = video_putc; /* 'putc' function */
|
||||
videodev.puts = video_puts; /* 'puts' function */
|
||||
|
|
|
@ -438,7 +438,6 @@ int drv_video_init(void)
|
|||
memset(&videodev, 0, sizeof(videodev));
|
||||
|
||||
strcpy(videodev.name, "video");
|
||||
videodev.ext = DEV_EXT_VIDEO; /* Video extensions */
|
||||
|
||||
error = stdio_register(&videodev);
|
||||
|
||||
|
|
|
@ -164,7 +164,6 @@ int drv_video_init(void)
|
|||
|
||||
memset(&videodev, 0, sizeof(videodev));
|
||||
strcpy(videodev.name, "video");
|
||||
videodev.ext = DEV_EXT_VIDEO;
|
||||
|
||||
return stdio_register(&videodev);
|
||||
}
|
||||
|
|
|
@ -328,7 +328,6 @@ int drv_video_init(void)
|
|||
memset(&videodev, 0, sizeof(videodev));
|
||||
|
||||
strcpy(videodev.name, "video");
|
||||
videodev.ext = DEV_EXT_VIDEO; /* Video extensions */
|
||||
|
||||
error = stdio_register(&videodev);
|
||||
|
||||
|
|
|
@ -332,7 +332,6 @@ int drv_video_init(void)
|
|||
memset(&videodev, 0, sizeof(videodev));
|
||||
|
||||
strcpy(videodev.name, "video");
|
||||
videodev.ext = DEV_EXT_VIDEO; /* Video extensions */
|
||||
|
||||
error = stdio_register(&videodev);
|
||||
|
||||
|
|
|
@ -2280,7 +2280,6 @@ int drv_video_init(void)
|
|||
/* Init vga device */
|
||||
memset(&console_dev, 0, sizeof(console_dev));
|
||||
strcpy(console_dev.name, "vga");
|
||||
console_dev.ext = DEV_EXT_VIDEO; /* Video extensions */
|
||||
console_dev.flags = DEV_FLAGS_OUTPUT;
|
||||
console_dev.putc = video_putc; /* 'putc' function */
|
||||
console_dev.puts = video_puts; /* 'puts' function */
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#define DEV_FLAGS_INPUT 0x00000001 /* Device can be used as input console */
|
||||
#define DEV_FLAGS_OUTPUT 0x00000002 /* Device can be used as output console */
|
||||
#define DEV_EXT_VIDEO 0x00000001 /* Video extensions supported */
|
||||
|
||||
/* Device information */
|
||||
struct stdio_dev {
|
||||
|
|
Loading…
Reference in a new issue