mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
drivers/char: protect the asm/vpl011.h include
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>
This commit is contained in:
1 parent
7e69db644a
commit
cace51fe35
1 file changed
+2
-1
@@ -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
|
||||
|
||||
|
||||