diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-11-03 23:23:37 -0800 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2015-11-05 08:22:21 +0100 |
commit | 1caf934a0504013874238445daaea7f32c36ab04 (patch) | |
tree | 4dc939261773f72f7802891dd7104cd44141b402 /board | |
parent | 8168ee38c26be586012743ded262145081d49d05 (diff) | |
download | u-boot-1caf934a0504013874238445daaea7f32c36ab04.zip u-boot-1caf934a0504013874238445daaea7f32c36ab04.tar.gz u-boot-1caf934a0504013874238445daaea7f32c36ab04.tar.bz2 |
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 'board')
-rw-r--r-- | board/bf527-ezkit/video.c | 1 | ||||
-rw-r--r-- | board/bf533-stamp/video.c | 1 | ||||
-rw-r--r-- | board/bf548-ezkit/video.c | 1 | ||||
-rw-r--r-- | board/cm-bf548/video.c | 1 | ||||
-rw-r--r-- | board/kosagi/novena/novena.c | 2 | ||||
-rw-r--r-- | board/mpl/common/kbd.c | 2 | ||||
-rw-r--r-- | board/mpl/pati/pati.c | 2 |
7 files changed, 3 insertions, 7 deletions
diff --git a/board/bf527-ezkit/video.c b/board/bf527-ezkit/video.c index c2bf145..530b956 100644 --- a/board/bf527-ezkit/video.c +++ b/board/bf527-ezkit/video.c @@ -439,7 +439,6 @@ int drv_video_init(void) strcpy(videodev.name, "video"); videodev.ext = DEV_EXT_VIDEO; /* Video extensions */ - videodev.flags = DEV_FLAGS_SYSTEM; /* No Output */ error = stdio_register(&videodev); diff --git a/board/bf533-stamp/video.c b/board/bf533-stamp/video.c index 75b8adc..a451f97 100644 --- a/board/bf533-stamp/video.c +++ b/board/bf533-stamp/video.c @@ -165,7 +165,6 @@ int drv_video_init(void) memset(&videodev, 0, sizeof(videodev)); strcpy(videodev.name, "video"); videodev.ext = DEV_EXT_VIDEO; - videodev.flags = DEV_FLAGS_SYSTEM; return stdio_register(&videodev); } diff --git a/board/bf548-ezkit/video.c b/board/bf548-ezkit/video.c index 47e68c6..9cc6c74 100644 --- a/board/bf548-ezkit/video.c +++ b/board/bf548-ezkit/video.c @@ -329,7 +329,6 @@ int drv_video_init(void) strcpy(videodev.name, "video"); videodev.ext = DEV_EXT_VIDEO; /* Video extensions */ - videodev.flags = DEV_FLAGS_SYSTEM; /* No Output */ error = stdio_register(&videodev); diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c index b098615..2867260 100644 --- a/board/cm-bf548/video.c +++ b/board/cm-bf548/video.c @@ -333,7 +333,6 @@ int drv_video_init(void) strcpy(videodev.name, "video"); videodev.ext = DEV_EXT_VIDEO; /* Video extensions */ - videodev.flags = DEV_FLAGS_SYSTEM; /* No Output */ error = stdio_register(&videodev); diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index 69f5be3..919133b 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -77,7 +77,7 @@ int drv_keyboard_init(void) int error; struct stdio_dev dev = { .name = "button", - .flags = DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM, + .flags = DEV_FLAGS_INPUT, .start = novena_gpio_button_init, .getc = novena_gpio_button_getc, .tstc = novena_gpio_button_tstc, diff --git a/board/mpl/common/kbd.c b/board/mpl/common/kbd.c index 99de2ca..1da72c5 100644 --- a/board/mpl/common/kbd.c +++ b/board/mpl/common/kbd.c @@ -203,7 +203,7 @@ int drv_isa_kbd_init (void) return -1; memset (&kbddev, 0, sizeof(kbddev)); strcpy(kbddev.name, DEVNAME); - kbddev.flags = DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM; + kbddev.flags = DEV_FLAGS_INPUT; kbddev.getc = kbd_getc ; kbddev.tstc = kbd_testc ; diff --git a/board/mpl/pati/pati.c b/board/mpl/pati/pati.c index b9d88ee..958cdec 100644 --- a/board/mpl/pati/pati.c +++ b/board/mpl/pati/pati.c @@ -566,7 +566,7 @@ void pci_con_connect(void) irq_install_handler (0x2, (interrupt_handler_t *) pci_dorbell_irq,NULL); memset (&pci_con_dev, 0, sizeof (pci_con_dev)); strcpy (pci_con_dev.name, "pci_con"); - pci_con_dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM; + pci_con_dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT; pci_con_dev.putc = pci_con_putc; pci_con_dev.puts = pci_con_puts; pci_con_dev.getc = pci_con_getc; |