diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-10-10 20:15:57 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-10-10 20:23:15 -0400 |
commit | cd9d6f10d07f26dd8a70e519c22b6b4f8a9e3e7a (patch) | |
tree | 4ea812bc714894210cee7610b15c3101f6390124 /drivers/video/gbefb.c | |
parent | 0febd3bccff3ac005a570180209e44fb7de188df (diff) |
gbefb: fix compile error
The patch "drivers/video/gbefb.c: use devm_ functions" caused a
compile error.
drivers/video/gbefb.c:1159:16: error: implicit declaration of function
'devm_ioremap' [-Werror=implicit-function-declaration]
drivers/video/gbefb.c:1179:3: error: implicit declaration of function
'devm_ioremap_nocache' [-Werror=implicit-function-declaration]
Fix it by including linux/io.h which defines those functions.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Damien Cassou <damien.cassou@lifl.fr>
Diffstat (limited to 'drivers/video/gbefb.c')
-rw-r--r-- | drivers/video/gbefb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 9b79d3835f04..8dc1f7a55083 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/io.h> | ||
23 | 24 | ||
24 | #ifdef CONFIG_X86 | 25 | #ifdef CONFIG_X86 |
25 | #include <asm/mtrr.h> | 26 | #include <asm/mtrr.h> |
@@ -28,7 +29,6 @@ | |||
28 | #include <asm/addrspace.h> | 29 | #include <asm/addrspace.h> |
29 | #endif | 30 | #endif |
30 | #include <asm/byteorder.h> | 31 | #include <asm/byteorder.h> |
31 | #include <asm/io.h> | ||
32 | #include <asm/tlbflush.h> | 32 | #include <asm/tlbflush.h> |
33 | 33 | ||
34 | #include <video/gbe.h> | 34 | #include <video/gbe.h> |