# \[PATCH, RFC 21/22\] davinci: vpfe\_capture needs i2c

- From: Prabhakar Lad \<prabhakar.csengg@gmail.com\>
- Date: 2013-05-03 11:00:53 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/05/4043463
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/05/4042941/t.md

```text
Hi Arnd,

Thanks for the patch.

On Thu, May 2, 2013 at 8:46 PM, Arnd Bergmann [ref] wrote:
> The vpfe_capture driver is implicitly built for three of the davinci
> capture drivers but depends on i2c, so we need to add the dependency
> in Kconfig for each driver using this.
>
>  drivers/media/platform/davinci/vpfe_capture.c: In function 'vpfe_probe':
>  drivers/media/platform/davinci/vpfe_capture.c:1934:2: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration]
>  drivers/media/platform/davinci/vpfe_capture.c:1934:11: warning: assignment makes pointer from integer without a cast [enabled by default]
>
> Cc: Lad, Prabhakar <prabhakar.csengg@gmail.com>
> Cc: Hans Verkuil <redacted>
> Cc: Mauro Carvalho Chehab <redacted>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>

Regards,
--Prabhakar Lad
```
