From: Florian Tobias Schandinat Date: Thu, 11 Oct 2012 00:15:57 +0000 (+0000) Subject: gbefb: fix compile error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cd9d6f10d07f26dd8a70e519c22b6b4f8a9e3e7a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Florian Tobias Schandinat Cc: Damien Cassou --- diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 9b79d3835f0..8dc1f7a5508 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef CONFIG_X86 #include @@ -28,7 +29,6 @@ #include #endif #include -#include #include #include