diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-02 10:49:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-02 11:25:38 -0300 |
commit | 480884b647c7efecb904a9ed022ee533afb9cb80 (patch) | |
tree | d656556a59caefe3f07d349b7a9866a37e7fa5a5 /drivers/media/common | |
parent | a3dfc6d925ca1bbd1a228253acb93f08657bad25 (diff) | |
download | linux-480884b647c7efecb904a9ed022ee533afb9cb80.tar.bz2 |
[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>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/siano/smsdvb-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/siano/smsdvb-main.c b/drivers/media/common/siano/smsdvb-main.c index dd3c1516013f..387db145d37e 100644 --- a/drivers/media/common/siano/smsdvb-main.c +++ b/drivers/media/common/siano/smsdvb-main.c @@ -1185,7 +1185,7 @@ static int smsdvb_hotplug(struct smscore_device_t *coredev, if (smsdvb_debugfs_create(client) < 0) pr_info("failed to create debugfs node\n"); - dvb_create_media_graph(coredev->media_dev); + dvb_create_media_graph(&client->adapter); pr_info("DVB interface registered.\n"); return 0; |