]> git.baikalelectronics.ru Git - kernel.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)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 23 May 2014 10:51:10 +0000 (13:51 +0300)
commit6c51333d5941a287a78de50460134df9fa447bbd
tree0e1c731f0fae993af430359a1421e61e475f9799
parentde5435210b56c7ef5b39c439ec037ad55ba56c9d
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/fb-puv3.c