[PATCH] [media] davinci: add i2c Kconfig dependencies
Lad, Prabhakar
prabhakar.csengg at gmail.com
Thu Nov 19 05:26:06 PST 2015
On Thu, Nov 19, 2015 at 12:59 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> All the davinci media drivers are using the i2c framework, and
> fail to build if that is ever disabled, e.g.:
>
> media/platform/davinci/vpif_display.c: In function 'vpif_probe':
> media/platform/davinci/vpif_display.c:1298:14: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration]
>
> This adds explicit Kconfig dependencies so we don't see the
> driver options if I2C is turned off.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg at gmail.com>
Cheers,
--Prabhakar Lad
More information about the linux-arm-kernel
mailing list