media: ipu3-cio2: make the bridge depend on i2c
authorAdam Borowski <kilobyte@angband.pl>
Thu, 15 Sep 2022 23:33:18 +0000 (00:33 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 11:49:20 +0000 (11:49 +0000)
commit6a5a4514854a637d01c50f5ea17b28f78b31ddb8
tree7245364e98e5133224bb3c20183d3ffee84da3b8
parentbfe03e74f864130e9ef305a4d32506bff1322180
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>
drivers/media/pci/intel/ipu3/Kconfig