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>
        u8                              system;
        enum cxd2841er_xtal             xtal;
        enum fe_caps caps;
+       u32                             flags;
 };
 
 static const struct cxd2841er_cnr_data s_cn_data[] = {
        priv->i2c_addr_slvx = (cfg->i2c_addr + 4) >> 1;
        priv->i2c_addr_slvt = (cfg->i2c_addr) >> 1;
        priv->xtal = cfg->xtal;
+       priv->flags = cfg->flags;
        priv->frontend.demodulator_priv = priv;
        dev_info(&priv->i2c->dev,
                "%s(): I2C adapter %p SLVX addr %x SLVT addr %x\n",
 
 struct cxd2841er_config {
        u8      i2c_addr;
        enum cxd2841er_xtal     xtal;
+       u32     flags;
 };
 
 #if IS_REACHABLE(CONFIG_DVB_CXD2841ER)