mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
media: ipu3-cio2: make the bridge depend on i2c
drivers/media/pci/intel/ipu3/cio2-bridge.c: In function ‘cio2_bridge_unregister_sensors’: drivers/media/pci/intel/ipu3/cio2-bridge.c:258:17: error: implicit declaration of function ‘i2c_unregister_device’; did you mean ‘spi_unregister_device’? [-Werror=implicit-function-declaration] 258 | i2c_unregister_device(sensor->vcm_i2c_client); | ^~~~~~~~~~~~~~~~~~~~~ | spi_unregister_device Link: https://lore.kernel.org/linux-media/S230142AbiJTWql/20221020224641Z+958@vger.kernel.org Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
bfe03e74f8
commit
6a5a451485
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ config VIDEO_IPU3_CIO2
|
|||
config CIO2_BRIDGE
|
||||
bool "IPU3 CIO2 Sensors Bridge"
|
||||
depends on VIDEO_IPU3_CIO2 && ACPI
|
||||
depends on I2C
|
||||
help
|
||||
This extension provides an API for the ipu3-cio2 driver to create
|
||||
connections to cameras that are hidden in the SSDB buffer in ACPI.
|
||||
|
|
Loading…
Reference in a new issue