mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 07:44:23 +08:00
466be4c9a6
The media driver USB_VIDEO_CLASS and USB_F_UVC are using the same function uvc_format_by_guid. Since the function is inline, every user will get a copy of the used uvc_fmts array and the function. This patch moves the code to an own compile unit and add this dependency as UVC_COMMON to both users. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Tested-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20230126231456.3402323-4-m.grzeschik@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 lines
388 B
Makefile
11 lines
388 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y += b2c2/ siano/ v4l2-tpg/ videobuf2/
|
|
|
|
# Please keep it alphabetically sorted by Kconfig name
|
|
# (e. g. LC_ALL=C sort Makefile)
|
|
obj-$(CONFIG_CYPRESS_FIRMWARE) += cypress_firmware.o
|
|
obj-$(CONFIG_TTPCI_EEPROM) += ttpci-eeprom.o
|
|
obj-$(CONFIG_UVC_COMMON) += uvc.o
|
|
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
|
|
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
|