From: Axel Lin Date: Fri, 31 Aug 2012 13:39:03 +0000 (+0800) Subject: video: mbxfb: Include linux/io.h instead of asm/io.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ac9e51bdb3d1367935211431565ea5d15102b64e;p=openwrt%2Fstaging%2Fblogic.git video: mbxfb: Include linux/io.h instead of asm/io.h This fixes below build error: CC [M] drivers/video/mbx/mbxfb.o drivers/video/mbx/mbxfb.c: In function 'mbxfb_probe': drivers/video/mbx/mbxfb.c:942:2: error: implicit declaration of function 'devm_ioremap_nocache' [-Werror=implicit-function-declaration] drivers/video/mbx/mbxfb.c:942:22: warning: assignment makes pointer from integer without a cast [enabled by default] drivers/video/mbx/mbxfb.c:952:21: warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors Signed-off-by: Axel Lin Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 9229acfe1f0c..6563e50413c1 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c @@ -26,8 +26,7 @@ #include #include #include - -#include +#include #include