add sn9c201 webcam driver, patch from Chris Li
authorFlorian Fainelli <florian@openwrt.org>
Sat, 20 Mar 2010 10:27:18 +0000 (10:27 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 20 Mar 2010 10:27:18 +0000 (10:27 +0000)
SVN-Revision: 20310

package/kernel/modules/video.mk

index 4308a2a19b02c68f716fce6f69f7b47d6e00bedc..c0ab5d15a98175020f593512fca6ad9073861149 100644 (file)
@@ -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