linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Porting V4L2 drivers to 2.6.20
@ 2007-03-13 10:00 Maximus
  2007-03-13 10:08 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Maximus @ 2007-03-13 10:00 UTC (permalink / raw)
  To: linux-kernel

Hey,
         am porting V4L2 drivers from 2.6.13 to 2.6.20.

     The driver is using a  structure 'video_device' which exists in
include/linux/videodev.h.

     However, The linux kernel in 2.6.20 doesnot have that structure?.

      Has the architecture changed between 2.6.13 to 2.6.20 for V4L2?.



      Regards,
       Jo

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

* Re: Porting V4L2 drivers to 2.6.20
  2007-03-13 10:00 Porting V4L2 drivers to 2.6.20 Maximus
@ 2007-03-13 10:08 ` Laurent Pinchart
  2007-03-17 20:05   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2007-03-13 10:08 UTC (permalink / raw)
  To: Maximus; +Cc: linux-kernel

> Hey,
>          am porting V4L2 drivers from 2.6.13 to 2.6.20.
>
>      The driver is using a  structure 'video_device' which exists in
> include/linux/videodev.h.
>
>      However, The linux kernel in 2.6.20 doesnot have that structure?.
>
>       Has the architecture changed between 2.6.13 to 2.6.20 for V4L2?.

The structure has been moved to include/media/v4l2-dev.h

Best regards,

Laurent Pinchart

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

* Re: Porting V4L2 drivers to 2.6.20
  2007-03-13 10:08 ` Laurent Pinchart
@ 2007-03-17 20:05   ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2007-03-17 20:05 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Maximus, linux-kernel

Em Ter, 2007-03-13 às 11:08 +0100, Laurent Pinchart escreveu:
> > Hey,
> >          am porting V4L2 drivers from 2.6.13 to 2.6.20.
> >
> >      The driver is using a  structure 'video_device' which exists in
> > include/linux/videodev.h.
> >
> >      However, The linux kernel in 2.6.20 doesnot have that structure?.
> >
> >       Has the architecture changed between 2.6.13 to 2.6.20 for V4L2?.
> 
> The structure has been moved to include/media/v4l2-dev.h

Yes.

You should notice that, if you want to send those drivers to kernel
mainstream, they should also be ported to V4L2 API (since V4L1 API is
obsolete). So, you shouldn't include linux/videodev.h, but, instead,
linux/videodev2.h for v4l2 API (and v4l2-dev.h for the internal V4L2
structures). Also, please c/c me on v4l kernel patches submission, since
I'm the V4L maintainer.

Cheers,
Mauro.
> 
> Best regards,
> 
> Laurent Pinchart
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Cheers,
Mauro


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

end of thread, other threads:[~2007-03-17 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13 10:00 Porting V4L2 drivers to 2.6.20 Maximus
2007-03-13 10:08 ` Laurent Pinchart
2007-03-17 20:05   ` Mauro Carvalho Chehab

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).