Skip to content

Commit 51df0ac

Browse files
amit3sgregkh
authored andcommitted
virtio: console: Move file back to drivers/char/
Commit 728674a moved virtio_console.c to drivers/tty/hvc/ under the perception of this being an hvc driver. It was such once, but these days it has generic communication capabilities as well, so move it to drivers/char/. In the future, the hvc part from this file can be split off and moved under drivers/tty/hvc/. Signed-off-by: Amit Shah <amit.shah@redhat.com> CC: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent ebf5382 commit 51df0ac

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/char/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
3030
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
3131
obj-$(CONFIG_SX) += sx.o generic_serial.o
3232
obj-$(CONFIG_RIO) += rio/ generic_serial.o
33+
obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
3334
obj-$(CONFIG_RAW_DRIVER) += raw.o
3435
obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
3536
obj-$(CONFIG_MSPEC) += mspec.o
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <linux/virtio_console.h>
3232
#include <linux/wait.h>
3333
#include <linux/workqueue.h>
34-
#include "hvc_console.h"
34+
#include "../tty/hvc/hvc_console.h"
3535

3636
/*
3737
* This is a global struct for storing common data for all the devices

‎drivers/tty/hvc/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ obj-$(CONFIG_HVC_XEN) += hvc_xen.o
1010
obj-$(CONFIG_HVC_IUCV) += hvc_iucv.o
1111
obj-$(CONFIG_HVC_UDBG) += hvc_udbg.o
1212
obj-$(CONFIG_HVCS) += hvcs.o
13-
obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o

0 commit comments

Comments
 (0)