projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e69db6
)
drivers/char: protect the asm/vpl011.h include
author
Alistair Francis
<alistair.francis@wdc.com>
Fri, 24 May 2019 08:29:04 +0000
(10:29 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Fri, 24 May 2019 08:29:04 +0000
(10:29 +0200)
The only use of asm/vpl011.h is protected by the CONFIG_SBSA_VUART_CONSOLE
define so lets protect the include as well.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/char/console.c
patch
|
blob
|
history
diff --git
a/xen/drivers/char/console.c
b/xen/drivers/char/console.c
index 38ecd9c015b0a5a50dd5a609a11cac5fe161deaa..d728e737d1d114766a0cd8663132f76648913110 100644
(file)
--- a/
xen/drivers/char/console.c
+++ b/
xen/drivers/char/console.c
@@
-36,7
+36,8
@@
#ifdef CONFIG_X86
#include <xen/consoled.h>
#include <asm/guest.h>
-#else
+#endif
+#ifdef CONFIG_SBSA_VUART_CONSOLE
#include <asm/vpl011.h>
#endif