[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201303151520.26873.hartleys@visionengravers.com>
Date: Fri, 15 Mar 2013 15:20:26 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: <linux-kernel@...r.kernel.org>
CC: <linux-fbdev@...r.kernel.org>, <stable@...r.kernel.org>,
<FlorianSchandinat@....de>, <rmallon@...il.com>,
<damien.cassou@...l.fr>
Subject: [PATCH] video: ep93xx_fb: include <linux/io.h> for devm_ioremap()
commit be867814 "drivers/video/ep93xx-fb.c: use devm_ functions"
Introduced a build error:
drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe':
drivers/video/ep93xx-fb.c:532: error: implicit declaration of function 'devm_ioremap'
drivers/video/ep93xx-fb.c:533: warning: assignment makes pointer from integer without a cast
Include <linux/io.h> to pickup the declaration of 'devm_ioremap'.
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: <stable@...r.kernel.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@....de>
Cc: Ryan Mallon <rmallon@...il.com>
Cc: Damien Cassou <damien.cassou@...l.fr>
---
drivers/video/ep93xx-fb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/ep93xx-fb.c b/drivers/video/ep93xx-fb.c
index 3f2519d..e06cd5d 100644
--- a/drivers/video/ep93xx-fb.c
+++ b/drivers/video/ep93xx-fb.c
@@ -23,6 +23,7 @@
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/fb.h>
+#include <linux/io.h>
#include <linux/platform_data/video-ep93xx.h>
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists