diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-11 18:06:36 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-16 08:50:36 -0200 |
commit | 8b0a81c73326af2defaa0d8a4494c7def83928bd (patch) | |
tree | 7648af35ea6fc5abd01dcac342f5603b03c63e6f /drivers/media/tuners/si2157.h | |
parent | 08f49200513ca7e42c24ab6f43233ae0a7b8b190 (diff) | |
download | talos-obmc-linux-8b0a81c73326af2defaa0d8a4494c7def83928bd.tar.gz talos-obmc-linux-8b0a81c73326af2defaa0d8a4494c7def83928bd.zip |
[media] si2157: register as a tuner entity
As this tuner doesn't use the usual subdev interface, we need
to register it manually.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/si2157.h')
-rw-r--r-- | drivers/media/tuners/si2157.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157.h b/drivers/media/tuners/si2157.h index 4db97ab744d6..5f1a60bf7ced 100644 --- a/drivers/media/tuners/si2157.h +++ b/drivers/media/tuners/si2157.h @@ -18,6 +18,7 @@ #define SI2157_H #include <linux/kconfig.h> +#include <media/media-device.h> #include "dvb_frontend.h" /* @@ -30,6 +31,10 @@ struct si2157_config { */ struct dvb_frontend *fe; +#if defined(CONFIG_MEDIA_CONTROLLER) + struct media_device *mdev; +#endif + /* * Spectral Inversion */ |