arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol
PATCH 1/1 arm: iomap.c: include asm/vga.h to pickup declaration of exported symbol
Include <asm/vga.h> to pickup the declaration of the exported symbol 'vga_base'.
This quiets the sparse warning:
warning: symbol 'vga_base' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
---
arch/arm/mm/iomap.c +2 -0
@@ -9,6 +9,8 @@#include <linux/ioport.h> #include <linux/io.h> +#include <asm/vga.h> +unsigned long vga_base;EXPORT_SYMBOL (vga_base);