linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap
@ 2014-05-21  6:13 sunzc522
  2014-05-21  7:04 ` =?gbk?B?UmU6IFtQQVRDSF0gZHJpdmVycy92aWRlby9mYmRldi9mYi1wdXYzLmM6IEFkZCBoZWFkZXIgZmlsZXMgZm9yDQogZnVu 管雪涛
  2014-05-23 10:51 ` [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap Tomi Valkeinen
  0 siblings, 2 replies; 3+ messages in thread
From: sunzc522 @ 2014-05-21  6:13 UTC (permalink / raw)
  To: linux-kernel
  Cc: gxt, gang.chen.5i5j, Zhichuang SUN,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Jingoo Han,
	Daniel Vetter, Joe Perches, Laurent Pinchart, linux-fbdev

From: Zhichuang SUN <sunzc522@gmail.com>

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
---
 drivers/video/fbdev/fb-puv3.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/fbdev/fb-puv3.c b/drivers/video/fbdev/fb-puv3.c
index 6db9ebd..88fa2e7 100644
--- a/drivers/video/fbdev/fb-puv3.c
+++ b/drivers/video/fbdev/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. */
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* =?gbk?B?UmU6IFtQQVRDSF0gZHJpdmVycy92aWRlby9mYmRldi9mYi1wdXYzLmM6IEFkZCBoZWFkZXIgZmlsZXMgZm9yDQogZnVu
  2014-05-21  6:13 [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap sunzc522
@ 2014-05-21  7:04 ` 管雪涛
  2014-05-23 10:51 ` [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap Tomi Valkeinen
  1 sibling, 0 replies; 3+ messages in thread
From: 管雪涛 @ 2014-05-21  7:04 UTC (permalink / raw)
  To: sunzc522
  Cc: linux-kernel, gxt, gang chen 5i5j,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Jingoo Han,
	Daniel Vetter, Joe Perches, Laurent Pinchart, linux-fbdev

Thanks.

Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>

----- sunzc522@gmail.com 写道:
> From: Zhichuang SUN <sunzc522@gmail.com>
> 
> 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
> ---
>  drivers/video/fbdev/fb-puv3.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/video/fbdev/fb-puv3.c b/drivers/video/fbdev/fb-puv3.c
> index 6db9ebd..88fa2e7 100644
> --- a/drivers/video/fbdev/fb-puv3.c
> +++ b/drivers/video/fbdev/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. */
> -- 
> 1.7.0.4
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap
  2014-05-21  6:13 [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap sunzc522
  2014-05-21  7:04 ` =?gbk?B?UmU6IFtQQVRDSF0gZHJpdmVycy92aWRlby9mYmRldi9mYi1wdXYzLmM6IEFkZCBoZWFkZXIgZmlsZXMgZm9yDQogZnVu 管雪涛
@ 2014-05-23 10:51 ` Tomi Valkeinen
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Valkeinen @ 2014-05-23 10:51 UTC (permalink / raw)
  To: sunzc522
  Cc: linux-kernel, gxt, gang.chen.5i5j,
	Jean-Christophe Plagniol-Villard, Jingoo Han, Daniel Vetter,
	Joe Perches, Laurent Pinchart, linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

On 21/05/14 09:13, sunzc522@gmail.com wrote:
> From: Zhichuang SUN <sunzc522@gmail.com>
> 
> 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'
> 

Thanks, queued for 3.16.

 Tomi



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-23 10:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-21  6:13 [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap sunzc522
2014-05-21  7:04 ` =?gbk?B?UmU6IFtQQVRDSF0gZHJpdmVycy92aWRlby9mYmRldi9mYi1wdXYzLmM6IEFkZCBoZWFkZXIgZmlsZXMgZm9yDQogZnVu 管雪涛
2014-05-23 10:51 ` [PATCH] drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).