char: fix alias devices regression
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Jun 2017 17:33:29 +0000 (21:33 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Jun 2017 13:57:36 +0000 (17:57 +0400)
commitd203c6439840de4e331f74208c57443f4d6a6229
tree6df1ce7afb4d045a187ddcefcc448b157df769e1
parent64175afc695c0672876fbbfc31b299c86d562cb4
char: fix alias devices regression

Fix regression from commit 4d43a603c71, where the serial and parallel
headers got removed from char.c, which broke the alias table.

Move the HAVE_CHARDEV_SERIAL/HAVE_CHARDEV_PARPORT to osdep.h instead
of being in separate headers.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
include/chardev/char-parallel.h
include/chardev/char-serial.h
include/qemu/osdep.h