Skip to content

Commit

Permalink
ARM: 8923/1: mm: include <asm/vga.h> for vga_base
Browse files Browse the repository at this point in the history
iomap.c needs <asm/vga.h> for the definition vga_base
to avoid the following warning:

arch/arm/mm/iomap.c:13:15: warning: symbol 'vga_base' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  • Loading branch information
Ben Dooks (Codethink) authored and Russell King committed Oct 31, 2019
1 parent 3b12952 commit c4e8fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mm/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <linux/ioport.h>
#include <linux/io.h>

#include <asm/vga.h>

unsigned long vga_base;
EXPORT_SYMBOL(vga_base);

Expand Down

0 comments on commit c4e8fd0

Please sign in to comment.