summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorZhichuang SUN <sunzc522@gmail.com>2014-05-21 14:13:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 11:14:03 -0700
commitd9d5de8b584263b3b8529f8f8f66cfe28d8d7f5d (patch)
tree61749067542a2145fa18bec184b41f3c2a09eb25 /drivers/video
parentfc252cbda4a2bc345026d3712912824f9540d20b (diff)
downloadlinux-3.10-d9d5de8b584263b3b8529f8f8f66cfe28d8d7f5d.tar.gz
linux-3.10-d9d5de8b584263b3b8529f8f8f66cfe28d8d7f5d.tar.bz2
linux-3.10-d9d5de8b584263b3b8529f8f8f66cfe28d8d7f5d.zip
drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap
commit fbc6c4a13bbfb420eedfdb26a0a859f9c07e8a7b upstream. Function unifb_mmap calls functions which are defined in linux/mm.h and asm/pgtable.h The related error (for unicore32 with unicore32_defconfig): CC drivers/video/fbdev/fb-puv3.o drivers/video/fbdev/fb-puv3.c: In function 'unifb_mmap': drivers/video/fbdev/fb-puv3.c:646: error: implicit declaration of function 'vm_iomap_memory' drivers/video/fbdev/fb-puv3.c:646: error: implicit declaration of function 'pgprot_noncached' Signed-off-by: Zhichuang Sun <sunzc522@gmail.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Jingoo Han <jg1.han@samsung.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Joe Perches <joe@perches.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: linux-fbdev@vger.kernel.org Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fb-puv3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fb-puv3.c b/drivers/video/fb-puv3.c
index 27fc956166f..520112531eb 100644
--- a/drivers/video/fb-puv3.c
+++ b/drivers/video/fb-puv3.c
@@ -18,8 +18,10 @@
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/console.h>
+#include <linux/mm.h>
#include <asm/sizes.h>
+#include <asm/pgtable.h>
#include <mach/hardware.h>
/* Platform_data reserved for unifb registers. */