[media] dvbdev: use adapter arg for dvb_create_media_graph()
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 13:49:04 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 14:25:38 +0000 (11:25 -0300)
commit480884b647c7efecb904a9ed022ee533afb9cb80
treed656556a59caefe3f07d349b7a9866a37e7fa5a5
parenta3dfc6d925ca1bbd1a228253acb93f08657bad25
[media] dvbdev: use adapter arg for dvb_create_media_graph()

Instead of using media_dev argument for dvb_create_media_graph(),
use the adapter.

That allows to create a stub for this function, if compiled
without DVB support, avoiding to add extra if's at the drivers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/common/siano/smsdvb-main.c
drivers/media/dvb-core/dvbdev.c
drivers/media/dvb-core/dvbdev.h
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
drivers/media/usb/dvb-usb/dvb-usb-dvb.c