V4L/DVB: [-next] gspca: fix build for INPUT=m or INPUT=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 30 Mar 2010 17:32:04 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:30 +0000 (12:57 -0300)
commitf76280154cdbb0ad02d5402972d1eb85f9e2898a
treeb606ddd799bad2c91170ab2626442d299b8c2520
parentb400f09246247e2c55b116bd7b71da4fb0cb19dc
V4L/DVB: [-next] gspca: fix build for INPUT=m or INPUT=n

Handle case of GSPCA=m, INPUT=m when building gspca core;
also handle case of INPUT=n by using stubs.

drivers/media/video/gspca/gspca.c:662: error: implicit declaration of function 'gspca_input_destroy_urb'
drivers/media/video/gspca/gspca.c:668: error: implicit declaration of function 'gspca_input_create_urb'
drivers/media/video/gspca/gspca.c:2284: error: implicit declaration of function 'gspca_input_connect'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h