Linux Media Controller development
 help / color / mirror / Atom feed
* Re: linux-next: Tree for March 11 (staging/multimedia)
       [not found] <20090311225913.51589223.sfr@canb.auug.org.au>
@ 2009-03-11 17:12 ` Randy Dunlap
  2009-03-11 18:11   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2009-03-11 17:12 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, Greg KH, linux-media

Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20090310:


drivers/staging/go7007/go7007-v4l2.c:1830: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)


-- 
~Randy

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

* Re: linux-next: Tree for March 11 (staging/multimedia)
  2009-03-11 17:12 ` linux-next: Tree for March 11 (staging/multimedia) Randy Dunlap
@ 2009-03-11 18:11   ` Greg KH
  2009-03-11 18:21     ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2009-03-11 18:11 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-media

On Wed, Mar 11, 2009 at 10:12:39AM -0700, Randy Dunlap wrote:
> Stephen Rothwell wrote:
> > Hi all,
> > 
> > Changes since 20090310:
> 
> 
> drivers/staging/go7007/go7007-v4l2.c:1830: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)

Odd, nothing has changed in this driver, is this a v4l api change?

thanks,

greg k-h

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

* Re: linux-next: Tree for March 11 (staging/multimedia)
  2009-03-11 18:11   ` Greg KH
@ 2009-03-11 18:21     ` Randy Dunlap
  2009-03-11 18:24       ` Greg KH
  2009-03-11 18:27       ` Hans Verkuil
  0 siblings, 2 replies; 5+ messages in thread
From: Randy Dunlap @ 2009-03-11 18:21 UTC (permalink / raw)
  To: Greg KH; +Cc: Stephen Rothwell, linux-next, LKML, linux-media

Greg KH wrote:
> On Wed, Mar 11, 2009 at 10:12:39AM -0700, Randy Dunlap wrote:
>> Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20090310:
>>
>> drivers/staging/go7007/go7007-v4l2.c:1830: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)
> 
> Odd, nothing has changed in this driver, is this a v4l api change?

I don't know if the vl4 API changed, but this error has been around
for some time now.  Just because it's just now being reported is one
change.  Surely other people build these drivers.  ???


I do know that other video drivers (with one exception) don't set:
	.vfl_type	= VID_TYPE_CAPTURE,
at all, so maybe it's not needed (?).


-- 
~Randy

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

* Re: linux-next: Tree for March 11 (staging/multimedia)
  2009-03-11 18:21     ` Randy Dunlap
@ 2009-03-11 18:24       ` Greg KH
  2009-03-11 18:27       ` Hans Verkuil
  1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2009-03-11 18:24 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-media

On Wed, Mar 11, 2009 at 11:21:52AM -0700, Randy Dunlap wrote:
> Greg KH wrote:
> > On Wed, Mar 11, 2009 at 10:12:39AM -0700, Randy Dunlap wrote:
> >> Stephen Rothwell wrote:
> >>> Hi all,
> >>>
> >>> Changes since 20090310:
> >>
> >> drivers/staging/go7007/go7007-v4l2.c:1830: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)
> > 
> > Odd, nothing has changed in this driver, is this a v4l api change?
> 
> I don't know if the vl4 API changed, but this error has been around
> for some time now.  Just because it's just now being reported is one
> change.  Surely other people build these drivers.  ???

I do, and don't seem to get this error.

Ah, it's a CONFIG_VIDEO_V4L1_COMPAT issue.  I'll see what needs to do to
fix this up.

thanks,

greg k-h

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

* Re: linux-next: Tree for March 11 (staging/multimedia)
  2009-03-11 18:21     ` Randy Dunlap
  2009-03-11 18:24       ` Greg KH
@ 2009-03-11 18:27       ` Hans Verkuil
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Verkuil @ 2009-03-11 18:27 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Greg KH, Stephen Rothwell, linux-next, LKML, linux-media

On Wednesday 11 March 2009 19:21:52 Randy Dunlap wrote:
> Greg KH wrote:
> > On Wed, Mar 11, 2009 at 10:12:39AM -0700, Randy Dunlap wrote:
> >> Stephen Rothwell wrote:
> >>> Hi all,
> >>>
> >>> Changes since 20090310:
> >>
> >> drivers/staging/go7007/go7007-v4l2.c:1830: error: 'VID_TYPE_CAPTURE'
> >> undeclared here (not in a function)
> >
> > Odd, nothing has changed in this driver, is this a v4l api change?
>
> I don't know if the vl4 API changed, but this error has been around
> for some time now.  Just because it's just now being reported is one
> change.  Surely other people build these drivers.  ???
>
>
> I do know that other video drivers (with one exception) don't set:
> 	.vfl_type	= VID_TYPE_CAPTURE,
> at all, so maybe it's not needed (?).

That's correct, this assignment isn't needed. The error appears now since 
VID_TYPE_CAPTURE has been made inaccessible for V4L2 drivers. Only old V4L1 
drivers can use it.

This change was very recent and before that it compiled fine. Although even 
then that code was wrong (but harmless).

Just remove that line and it will compile fine again. Although unless 
someone will take this driver to the next level it will probably break 
again once the old autoprobing i2c API is removed (and that's slated for 
2.6.30 if all goes well).

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG

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

end of thread, other threads:[~2009-03-11 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090311225913.51589223.sfr@canb.auug.org.au>
2009-03-11 17:12 ` linux-next: Tree for March 11 (staging/multimedia) Randy Dunlap
2009-03-11 18:11   ` Greg KH
2009-03-11 18:21     ` Randy Dunlap
2009-03-11 18:24       ` Greg KH
2009-03-11 18:27       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox