kernel: modules: video: add kmod-video-gspca-pac7302
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sat, 6 Jul 2024 07:37:42 +0000 (04:37 -0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Jul 2024 17:01:23 +0000 (19:01 +0200)
Add the package for the Pixart PAC7302 USB Camera Driver kernel module.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15886
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/video.mk

index b59907c643f84c55b60322acc20f3e6e531ff3af..bbfceb691b52a404775b5304892ddeb5338df4aa 100644 (file)
@@ -780,6 +780,21 @@ endef
 $(eval $(call KernelPackage,video-gspca-pac207))
 
 
+define KernelPackage/video-gspca-pac7302
+  TITLE:=pac7302 webcam support
+  KCONFIG:=CONFIG_USB_GSPCA_PAC7302
+  FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7302.ko
+  AUTOLOAD:=$(call AutoProbe,gspca_pac7302)
+  $(call AddDepends/camera-gspca)
+endef
+
+define KernelPackage/video-gspca-pac7302/description
+ The Pixart PAC7302 USB Camera Driver (pac7302) kernel module
+endef
+
+$(eval $(call KernelPackage,video-gspca-pac7302))
+
+
 define KernelPackage/video-gspca-pac7311
   TITLE:=pac7311 webcam support
   KCONFIG:=CONFIG_USB_GSPCA_PAC7311