]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee2104ea676a8f0bb4107ae6eca9c0be502fe1ae
treeb606ddd799bad2c91170ab2626442d299b8c2520
parent1b9450847dba74476a4d9b86ebaa9d3adf7c7c8c
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