Skip to content
Commit 36756fbf authored by YueHaibing's avatar YueHaibing Committed by Mauro Carvalho Chehab
Browse files

media: max2175: Fix build error without CONFIG_REGMAP_I2C



If CONFIG_REGMAP_I2C is not set, building fails:

drivers/media/i2c/max2175.o: In function `max2175_probe':
max2175.c:(.text+0x1404): undefined reference to `__devm_regmap_init_i2c'

Select REGMAP_I2C to fix this.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: b47b79d8 ("[media] media: i2c: max2175: Add MAX2175 support")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 7c617138
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment