mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
e552684809
Split off all code specific to the MaxSX8 cards to a separate ddbridge-sx8 module and hook it up in the Makefile. This also adds evaluation of the mci_type to allow for using different attach handling for different cards. As different cards can implement things differently (ie. support differing frontend_ops, and have different base structs being put ontop of the common mci_base struct), this introduces the mci_cfg struct which is initially used to hold a few specifics to the -sx8 submodule. While at it, the handling of the i/q mode is adjusted slightly. Besides this and handling mci_base and sx8_base struct pointers where needed, all code is copied unmodified from ddbridge-mci.c. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
14 lines
351 B
Makefile
14 lines
351 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the ddbridge device driver
|
|
#
|
|
|
|
ddbridge-objs := ddbridge-main.o ddbridge-core.o ddbridge-ci.o \
|
|
ddbridge-hw.o ddbridge-i2c.o ddbridge-max.o ddbridge-mci.o \
|
|
ddbridge-sx8.o
|
|
|
|
obj-$(CONFIG_DVB_DDBRIDGE) += ddbridge.o
|
|
|
|
ccflags-y += -Idrivers/media/dvb-frontends/
|
|
ccflags-y += -Idrivers/media/tuners/
|