diff options
| author | YueHaibing <[email protected]> | 2019-07-04 09:35:53 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-07-04 12:18:48 +0000 |
| commit | eff5a850017193ae879948944be05cc814c29621 (patch) | |
| tree | 16f656ab04384e9227b56e4ac5c704b1384905fc /drivers/pci/controller/pci-host-common.c | |
| parent | regmap: lzo: Switch to bitmap_zalloc() (diff) | |
| download | kernel-eff5a850017193ae879948944be05cc814c29621.tar.gz kernel-eff5a850017193ae879948944be05cc814c29621.zip | |
regmap: select CONFIG_REGMAP while REGMAP_SCCB is set
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 regmap_config ov772x_regmap_config = {
^~~~~~~~~~~~~
drivers/media/i2c/ov772x.c:1361:4: error: const struct regmap_config has no member named reg_bits
Reported-by: Hulk Robot <[email protected]>
Fixes: 5bbf32217bf9 ("media: ov772x: use SCCB regmap")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
