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:
Alistair Francis authored and Jan Beulich committed 2019-05-24 10:29:04 +02:00
1 parent 7e69db644a
commit cace51fe35
1 file changed
+2 -1
+2 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.