[openwrt/openwrt] kernel: modules: video: add kmod-video-gspca-pac7302

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 21 10:02:14 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/403c17cadfd9183976bdf2317652efa720038518

commit 403c17cadfd9183976bdf2317652efa720038518
Author: Luiz Angelo Daros de Luca <luizluca at gmail.com>
AuthorDate: Sat Jul 6 04:37:42 2024 -0300

    kernel: modules: video: add kmod-video-gspca-pac7302
    
    Add the package for the Pixart PAC7302 USB Camera Driver kernel module.
    
    Signed-off-by: Luiz Angelo Daros de Luca <luizluca at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/15886
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/video.mk | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index b59907c643..bbfceb691b 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -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




More information about the lede-commits mailing list