forked from Minki/linux
d5c00762ec
Several (15) drivers in media/usb/gspca use IF_ENABLED(CONFIG_INPUT) to decide if they should call input* interfaces, but those drivers do not build successfully when CONFIG_INPUT=m and the gspca drivers are builtin (=y). Making USB_GSPCA depend on INPUT || INPUT=n fixes the build dependencies and allows all of them to build cleanly. Fixes these build errors (selections, not all are listed): drivers/built-in.o: In function `gspca_disconnect': (.text+0x32ed0f): undefined reference to `input_unregister_device' drivers/built-in.o: In function `sd_isoc_irq': konica.c:(.text+0x333098): undefined reference to `input_event' konica.c:(.text+0x3330ab): undefined reference to `input_event' drivers/built-in.o: In function `sd_stopN': konica.c:(.text+0x3338d3): undefined reference to `input_event' konica.c:(.text+0x3338e5): undefined reference to `input_event' drivers/built-in.o: In function `ov51x_handle_button': ov519.c:(.text+0x335ddb): undefined reference to `input_event' drivers/built-in.o:ov519.c:(.text+0x335ded): more undefined references to `input_event' follow pac7302.c:(.text+0x336ea1): undefined reference to `input_event' pac7302.c:(.text+0x336eb3): undefined reference to `input_event' drivers/built-in.o: In function `sd_pkt_scan': spca561.c:(.text+0x338fd8): undefined reference to `input_event' drivers/built-in.o:spca561.c:(.text+0x338feb): more undefined references to `input_event' follow t613.c:(.text+0x33a6fd): undefined reference to `input_event' drivers/built-in.o:t613.c:(.text+0x33a70f): more undefined references to `input_event' follow Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
||
---|---|---|
.. | ||
gl860 | ||
m5602 | ||
stv06xx | ||
autogain_functions.c | ||
benq.c | ||
conex.c | ||
cpia1.c | ||
dtcs033.c | ||
etoms.c | ||
finepix.c | ||
gspca.c | ||
gspca.h | ||
jeilinj.c | ||
jl2005bcd.c | ||
jpeg.h | ||
Kconfig | ||
kinect.c | ||
konica.c | ||
Makefile | ||
mars.c | ||
mr97310a.c | ||
nw80x.c | ||
ov519.c | ||
ov534_9.c | ||
ov534.c | ||
pac207.c | ||
pac7302.c | ||
pac7311.c | ||
pac_common.h | ||
se401.c | ||
se401.h | ||
sn9c20x.c | ||
sn9c2028.c | ||
sn9c2028.h | ||
sonixb.c | ||
sonixj.c | ||
spca500.c | ||
spca501.c | ||
spca505.c | ||
spca506.c | ||
spca508.c | ||
spca561.c | ||
spca1528.c | ||
sq905.c | ||
sq905c.c | ||
sq930x.c | ||
stk014.c | ||
stk1135.c | ||
stk1135.h | ||
stv0680.c | ||
sunplus.c | ||
t613.c | ||
topro.c | ||
touptek.c | ||
tv8532.c | ||
vc032x.c | ||
vicam.c | ||
w996Xcf.c | ||
xirlink_cit.c | ||
zc3xx-reg.h | ||
zc3xx.c |