diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-02 13:48:36 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-03 10:18:17 +0100 |
commit | bddc418787cccb2ba92b5e601d1d9b04f4668946 (patch) | |
tree | 1087174d917a47541b02c56d4a1a966c9e6d3a6d /drivers/media/dvb-frontends/au8522_priv.h | |
parent | [media] rc-core: allow calling rc_open with device not initialized (diff) | |
download | linux-bddc418787cccb2ba92b5e601d1d9b04f4668946.tar.xz linux-bddc418787cccb2ba92b5e601d1d9b04f4668946.zip |
[media] au0828: use standard demod pads struct
As we want au0828 to use the core function to create the MC
graphs, use enum demod_pad_index instead of
enum au8522_media_pads.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/au8522_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/au8522_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/au8522_priv.h b/drivers/media/dvb-frontends/au8522_priv.h index 505215a21ddd..f5a9438f6ce5 100644 --- a/drivers/media/dvb-frontends/au8522_priv.h +++ b/drivers/media/dvb-frontends/au8522_priv.h @@ -30,6 +30,7 @@ #include <linux/videodev2.h> #include <media/v4l2-device.h> #include <media/v4l2-ctrls.h> +#include <media/v4l2-mc.h> #include <linux/i2c.h> #include "dvb_frontend.h" #include "au8522.h" @@ -70,7 +71,7 @@ struct au8522_state { struct v4l2_ctrl_handler hdl; #ifdef CONFIG_MEDIA_CONTROLLER - struct media_pad pads[AU8522_NUM_PADS]; + struct media_pad pads[DEMOD_NUM_PADS]; #endif }; |