]> git.karo-electronics.de Git - linux-beck.git/commit
[media] dvb-core: move dvb_filter out of the DVB core
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 13 Oct 2016 10:41:38 +0000 (07:41 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 10:44:08 +0000 (08:44 -0200)
commitb676e7316ae9b4e6424dc0beb16dbaf71c659a18
tree6ec72f23d46b5c9d0c1aee686cda61934eaa978b
parentdd79d27e1bbded7366ade6d25fbfde305e33fad8
[media] dvb-core: move dvb_filter out of the DVB core

The dvb_filter.c can hardly be considered as part of the DVB
core. More than half of the code there is commented out by
av7110 and ttusb_dec.

On the latter, just two small helper functions and a struct
definition is used.

Being part of the core means that it would require an
amount of work to fix issues in it, like bad printk's
on it, and to document it on some future, like other kAPI
headers. It simply not worth the effort for something that
seems to be deprecated, as no new drivers use it.

So, move it out of the core, by moving it to pci/ttpci
directory, where av7110 driver is kept, and copy the two
routines used by ttyusb_dec directly into its code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/common/b2c2/flexcop-common.h
drivers/media/dvb-core/Makefile
drivers/media/pci/ttpci/Makefile
drivers/media/pci/ttpci/dvb_filter.c [moved from drivers/media/dvb-core/dvb_filter.c with 99% similarity]
drivers/media/pci/ttpci/dvb_filter.h [moved from drivers/media/dvb-core/dvb_filter.h with 100% similarity]
drivers/media/usb/ttusb-dec/ttusb_dec.c