]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap
authorZhichuang SUN <sunzc522@gmail.com>
Wed, 21 May 2014 06:13:30 +0000 (14:13 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:51:06 +0000 (14:51 +0800)
commita0c9f049a393f3c7d84e954f147e2e6baf8092f2
treed3cbfd43e7b0b60448b47b7883d2f2d823b5a3dc
parent83552d1bc6b4a310f37531a1440d1b1f9aab8c86
drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap

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: Xuetao Guan <gxt@mprc.pku.edu.cn>
drivers/video/fbdev/fb-puv3.c