Re: [PATCH] regmap: select CONFIG_REGMAP while REGMAP_SCCB is set

2019-07-04 Thread Akinobu Mita
2019年7月4日(木) 18:36 YueHaibing : > > REGMAP_SCCB is selected by ov772x and ov9650 drivers, > but CONFIG_REGMAP may not, so building will fails: > > rivers/media/i2c/ov772x.c: In function ov772x_probe: > drivers/media/i2c/ov772x.c:1360:22: error: variable ov772x_regmap_config has > initializer but

[PATCH] regmap: select CONFIG_REGMAP while REGMAP_SCCB is set

2019-07-04 Thread YueHaibing
REGMAP_SCCB is selected by ov772x and ov9650 drivers, but CONFIG_REGMAP may not, so building will fails: rivers/media/i2c/ov772x.c: In function ov772x_probe: drivers/media/i2c/ov772x.c:1360:22: error: variable ov772x_regmap_config has initializer but incomplete type static const struct