upstream: [media] dib8000: export just one symbol
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 29 May 2014 12:20:17 +0000 (09:20 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:06 +0000 (14:32 +0900)
commit7bda1372c1a17e88021222f4b83fa4ce88f15a5a
tree4a23598a45ce60149dc9151ac2698e2cd5149b89
parente0a30da91ad5ac394de32af63abf5536f514f75e
upstream: [media] dib8000: export just one symbol

Exporting multiple symbols don't work as it causes compilation
breakages, due to the way dvb_attach() works.

The bug happens when:
        CONFIG_DVB_DIB8000=m
CONFIG_DVB_USB_DIB0700=y

As a bonus, dib8000 won't be loaded anymore if the device uses
a different frontend, reducing the memory footprint.

Tested with both Pixelview PV-D231 and MyGica S870.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=d44913c1e547
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c
drivers/media/dvb-frontends/dib8000.h
drivers/media/usb/dvb-usb/dib0700_devices.c