kernel: fix dependencies for x86 target
[openwrt.git] / package / kernel / modules / video.mk
index 4308a2a..6bc19fd 100644 (file)
@@ -120,7 +120,7 @@ $(call KernelPackage/video/Depends,@LINUX_2_6 @USB_SUPPORT +kmod-usb-core)
   TITLE:=SN9C102 Camera Chip support
   KCONFIG:=CONFIG_USB_SN9C102
   FILES:=$(LINUX_DIR)/drivers/media/video/sn9c102/sn9c102.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,70,sn9c102)
+  AUTOLOAD:=$(call AutoLoad,70,gspca_sn9c20x)
 endef
 
 
@@ -323,6 +323,21 @@ endef
 $(eval $(call KernelPackage,video-gspca-pac7311))
 
 
+define KernelPackage/video-gspca-sn9c20x
+$(call KernelPackage/video-gspca/Depends,@LINUX_2_6 @USB_SUPPORT +kmod-usb-core)
+  TITLE:=sn9c20x webcam support
+  KCONFIG:=CONFIG_USB_GSPCA_SN9C20X
+  FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sn9c20x.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,75,sn9c20x)
+endef
+
+define KernelPackage/video-gspca-sn9c20x/description
+ The SN9C20X USB Camera Driver (sn9c20x) kernel module.
+endef
+
+$(eval $(call KernelPackage,video-gspca-sn9c20x))
+
+
 define KernelPackage/video-gspca-sonixb
 $(call KernelPackage/video-gspca/Depends,)
   TITLE:=sonixb webcam support
This page took 0.0212 seconds and 4 git commands to generate.