summaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-11-03 23:23:37 -0800
committerAnatolij Gustschin <agust@denx.de>2015-11-05 08:22:21 +0100
commit1caf934a0504013874238445daaea7f32c36ab04 (patch)
tree4dc939261773f72f7802891dd7104cd44141b402 /common/stdio.c
parent8168ee38c26be586012743ded262145081d49d05 (diff)
video: Drop DEV_FLAGS_SYSTEM flag
DEV_FLAGS_SYSTEM does not have any actual meaning, hence drop it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/stdio.c')
-rw-r--r--common/stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stdio.c b/common/stdio.c
index adbfc890dd..ab4df20f6b 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -88,7 +88,7 @@ static void drv_system_init (void)
memset (&dev, 0, sizeof (dev));
strcpy (dev.name, "serial");
- dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM;
+ dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT;
dev.putc = stdio_serial_putc;
dev.puts = stdio_serial_puts;
dev.getc = stdio_serial_getc;
@@ -99,7 +99,7 @@ static void drv_system_init (void)
memset (&dev, 0, sizeof (dev));
strcpy (dev.name, "nulldev");
- dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM;
+ dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT;
dev.putc = nulldev_putc;
dev.puts = nulldev_puts;
dev.getc = nulldev_input;