Skip to contentSkip to conversation

stkwebcam: depend on VIDEO_V4L1_COMPAT

PATCH New Jaime Velasco Juan 1 participant 1 message Mar 19, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 stkwebcam: depend on VIDEO_V4L1_COMPAT

This should fix build failure reported by Toralf Förster:

Quoted 10 lines · Toralf Förster

Hello,

the build with the attached .config failed, make ends with:
...
CC [M] drivers/media/video/stk-webcam.o
drivers/media/video/stk-webcam.c: In function 'stk_create_sysfs_files':
drivers/media/video/stk-webcam.c:340: error: implicit declaration of function 'video_device_create_file' drivers/media/video/stk-webcam.c: In function 'stk_remove_sysfs_files':
drivers/media/video/stk-webcam.c:348: error: implicit declaration of function 'video_device_remove_file' drivers/media/video/stk-webcam.c: At top level:

[...]

Regards.

---

drivers/media/video/Kconfig +1 -1
index 37072a2..544630e 100644
@@ -823,7 +823,7 @@ config USB_ZR364XX
 
 config USB_STKWEBCAM
 	tristate "USB Syntek DC1125 Camera support"
-	depends on VIDEO_V4L2 && EXPERIMENTAL
+	depends on VIDEO_V4L2 && VIDEO_V4L1_COMPAT && EXPERIMENTAL
 	---help---
 	  Say Y here if you want to use this type of camera.
 	  Supported devices are typically found in some Asus laptops,

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list