mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 19:06:03 +07:00
eff5a85001
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 <hulkci@huawei.com>
Fixes: 5bbf32217b
("media: ov772x: use SCCB regmap")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190704093553.49904-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
56 lines
979 B
Plaintext
56 lines
979 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
# Generic register map support. There are no user servicable options here,
|
|
# this is an API intended to be used by other kernel subsystems. These
|
|
# subsystems should select the appropriate symbols.
|
|
|
|
config REGMAP
|
|
default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SCCB || REGMAP_I3C)
|
|
select IRQ_DOMAIN if REGMAP_IRQ
|
|
bool
|
|
|
|
config REGCACHE_COMPRESSED
|
|
select LZO_COMPRESS
|
|
select LZO_DECOMPRESS
|
|
bool
|
|
|
|
config REGMAP_AC97
|
|
tristate
|
|
|
|
config REGMAP_I2C
|
|
tristate
|
|
depends on I2C
|
|
|
|
config REGMAP_SLIMBUS
|
|
tristate
|
|
depends on SLIMBUS
|
|
|
|
config REGMAP_SPI
|
|
tristate
|
|
depends on SPI
|
|
|
|
config REGMAP_SPMI
|
|
tristate
|
|
depends on SPMI
|
|
|
|
config REGMAP_W1
|
|
tristate
|
|
depends on W1
|
|
|
|
config REGMAP_MMIO
|
|
tristate
|
|
|
|
config REGMAP_IRQ
|
|
bool
|
|
|
|
config REGMAP_SOUNDWIRE
|
|
tristate
|
|
depends on SOUNDWIRE_BUS
|
|
|
|
config REGMAP_SCCB
|
|
tristate
|
|
depends on I2C
|
|
|
|
config REGMAP_I3C
|
|
tristate
|
|
depends on I3C
|