All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: se7724: fix compile breakage
@ 2012-01-25  8:10 Guennadi Liakhovetski
  2012-01-25  9:31 ` Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2012-01-25  8:10 UTC (permalink / raw)
  To: linux-sh

Fix compilation breakage

arch/sh/boards/mach-se/7724/setup.c:182: error: 'V4L2_PIX_FMT_RGB565' undeclared here (not in a function)
make[3]: *** [arch/sh/boards/mach-se/7724/setup.o] Error 1

caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 arch/sh/boards/mach-se/7724/setup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 036fe1a..2b07fc0 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -24,6 +24,7 @@
 #include <linux/input/sh_keysc.h>
 #include <linux/usb/r8a66597.h>
 #include <linux/sh_eth.h>
+#include <linux/videodev2.h>
 #include <video/sh_mobile_lcdc.h>
 #include <media/sh_mobile_ceu.h>
 #include <sound/sh_fsi.h>
-- 
1.7.2.5


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

* Re: [PATCH] sh: se7724: fix compile breakage
  2012-01-25  8:10 [PATCH] sh: se7724: fix compile breakage Guennadi Liakhovetski
@ 2012-01-25  9:31 ` Laurent Pinchart
  2012-01-25  9:57 ` Paul Mundt
  2012-01-25 10:05 ` Guennadi Liakhovetski
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2012-01-25  9:31 UTC (permalink / raw)
  To: linux-sh

Hi Guennadi,

Thanks for the patch.

On Wednesday 25 January 2012 09:10:29 Guennadi Liakhovetski wrote:
> Fix compilation breakage
> 
> arch/sh/boards/mach-se/7724/setup.c:182: error: 'V4L2_PIX_FMT_RGB565'
> undeclared here (not in a function) make[3]: ***
> [arch/sh/boards/mach-se/7724/setup.o] Error 1
> 
> caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"

My bad. The following files also need to include linux/videovdev2.h. Should I 
send a separate patch, or do you want to include them in your patch ?

arch/sh/boards/mach-kfr2r09/setup.c
arch/sh/boards/mach-ap325rxa/setup.c
arch/sh/boards/mach-migor/setup.c
arch/sh/boards/mach-ecovec24/setup.c

> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
>  arch/sh/boards/mach-se/7724/setup.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/sh/boards/mach-se/7724/setup.c
> b/arch/sh/boards/mach-se/7724/setup.c index 036fe1a..2b07fc0 100644
> --- a/arch/sh/boards/mach-se/7724/setup.c
> +++ b/arch/sh/boards/mach-se/7724/setup.c
> @@ -24,6 +24,7 @@
>  #include <linux/input/sh_keysc.h>
>  #include <linux/usb/r8a66597.h>
>  #include <linux/sh_eth.h>
> +#include <linux/videodev2.h>
>  #include <video/sh_mobile_lcdc.h>
>  #include <media/sh_mobile_ceu.h>
>  #include <sound/sh_fsi.h>

-- 
Regards,

Laurent Pinchart

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

* Re: [PATCH] sh: se7724: fix compile breakage
  2012-01-25  8:10 [PATCH] sh: se7724: fix compile breakage Guennadi Liakhovetski
  2012-01-25  9:31 ` Laurent Pinchart
@ 2012-01-25  9:57 ` Paul Mundt
  2012-01-25 10:05 ` Guennadi Liakhovetski
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2012-01-25  9:57 UTC (permalink / raw)
  To: linux-sh

On Wed, Jan 25, 2012 at 10:31:26AM +0100, Laurent Pinchart wrote:
> Hi Guennadi,
> 
> Thanks for the patch.
> 
> On Wednesday 25 January 2012 09:10:29 Guennadi Liakhovetski wrote:
> > Fix compilation breakage
> > 
> > arch/sh/boards/mach-se/7724/setup.c:182: error: 'V4L2_PIX_FMT_RGB565'
> > undeclared here (not in a function) make[3]: ***
> > [arch/sh/boards/mach-se/7724/setup.o] Error 1
> > 
> > caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"
> 
> My bad. The following files also need to include linux/videovdev2.h. Should I 
> send a separate patch, or do you want to include them in your patch ?
> 
> arch/sh/boards/mach-kfr2r09/setup.c
> arch/sh/boards/mach-ap325rxa/setup.c
> arch/sh/boards/mach-migor/setup.c
> arch/sh/boards/mach-ecovec24/setup.c
> 
All at once would be nice.

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

* Re: [PATCH] sh: se7724: fix compile breakage
  2012-01-25  8:10 [PATCH] sh: se7724: fix compile breakage Guennadi Liakhovetski
  2012-01-25  9:31 ` Laurent Pinchart
  2012-01-25  9:57 ` Paul Mundt
@ 2012-01-25 10:05 ` Guennadi Liakhovetski
  2 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2012-01-25 10:05 UTC (permalink / raw)
  To: linux-sh

On Wed, 25 Jan 2012, Paul Mundt wrote:

> On Wed, Jan 25, 2012 at 10:31:26AM +0100, Laurent Pinchart wrote:
> > Hi Guennadi,
> > 
> > Thanks for the patch.
> > 
> > On Wednesday 25 January 2012 09:10:29 Guennadi Liakhovetski wrote:
> > > Fix compilation breakage
> > > 
> > > arch/sh/boards/mach-se/7724/setup.c:182: error: 'V4L2_PIX_FMT_RGB565'
> > > undeclared here (not in a function) make[3]: ***
> > > [arch/sh/boards/mach-se/7724/setup.o] Error 1
> > > 
> > > caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"
> > 
> > My bad. The following files also need to include linux/videovdev2.h. Should I 
> > send a separate patch, or do you want to include them in your patch ?
> > 
> > arch/sh/boards/mach-kfr2r09/setup.c
> > arch/sh/boards/mach-ap325rxa/setup.c
> > arch/sh/boards/mach-migor/setup.c
> > arch/sh/boards/mach-ecovec24/setup.c
> > 
> All at once would be nice.

All the above boards include - directly or indirectly - soc_camera.h, 
which then includes videodev2.h, so, they compile fine. Of course, they 
still should include headers explicitly instead, so, they should be fixed 
too, it's just less critical. Anyway, I'll resumbit with all those boards 
included.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

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

end of thread, other threads:[~2012-01-25 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25  8:10 [PATCH] sh: se7724: fix compile breakage Guennadi Liakhovetski
2012-01-25  9:31 ` Laurent Pinchart
2012-01-25  9:57 ` Paul Mundt
2012-01-25 10:05 ` Guennadi Liakhovetski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.