diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-06-07 21:33:29 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-06-08 17:57:36 +0400 |
commit | d203c6439840de4e331f74208c57443f4d6a6229 (patch) | |
tree | 6df1ce7afb4d045a187ddcefcc448b157df769e1 /include/chardev/char-parallel.h | |
parent | 64175afc695c0672876fbbfc31b299c86d562cb4 (diff) | |
download | qemu-d203c6439840de4e331f74208c57443f4d6a6229.zip qemu-d203c6439840de4e331f74208c57443f4d6a6229.tar.gz qemu-d203c6439840de4e331f74208c57443f4d6a6229.tar.bz2 |
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>
Diffstat (limited to 'include/chardev/char-parallel.h')
-rw-r--r-- | include/chardev/char-parallel.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/chardev/char-parallel.h b/include/chardev/char-parallel.h index 3284a1b..c09751f 100644 --- a/include/chardev/char-parallel.h +++ b/include/chardev/char-parallel.h @@ -26,11 +26,6 @@ #include "chardev/char.h" -#if defined(__linux__) || defined(__FreeBSD__) || \ - defined(__FreeBSD_kernel__) || defined(__DragonFly__) -#define HAVE_CHARDEV_PARPORT 1 -#endif - #define CHR_IOCTL_PP_READ_DATA 3 #define CHR_IOCTL_PP_WRITE_DATA 4 #define CHR_IOCTL_PP_READ_CONTROL 5 |