aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/dvb-frontends/cxd2841er.h
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-04-09 16:38:15 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 09:44:22 -0300
commit050863aac09453d74be9f8b3c6b91fb1af92c5c3 (patch)
tree4822bc188464ae9582687b9c666426e3845557ec /drivers/media/dvb-frontends/cxd2841er.h
parent[media] dvb-frontends/cxd2841er: replace IFFREQ calc macros into functions (diff)
downloadwireguard-linux-050863aac09453d74be9f8b3c6b91fb1af92c5c3.tar.xz
wireguard-linux-050863aac09453d74be9f8b3c6b91fb1af92c5c3.zip
[media] dvb-frontends/cxd2841er: add variable for configuration flags
Throughout the patch series some configuration flags will be added to the demod driver. This patch prepares this by adding the flags var to struct cxd2841er_config, which will serve as a bitmask to toggle various options and behaviour in the driver. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Acked-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2841er.h')
-rw-r--r--drivers/media/dvb-frontends/cxd2841er.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/cxd2841er.h b/drivers/media/dvb-frontends/cxd2841er.h
index 7f1acfb8f4f5..2fb8b385c643 100644
--- a/drivers/media/dvb-frontends/cxd2841er.h
+++ b/drivers/media/dvb-frontends/cxd2841er.h
@@ -33,6 +33,7 @@ enum cxd2841er_xtal {
struct cxd2841er_config {
u8 i2c_addr;
enum cxd2841er_xtal xtal;
+ u32 flags;
};
#if IS_REACHABLE(CONFIG_DVB_CXD2841ER)