Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758316AbbKSN0i (ORCPT ); Thu, 19 Nov 2015 08:26:38 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38211 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755455AbbKSN0h (ORCPT ); Thu, 19 Nov 2015 08:26:37 -0500 MIME-Version: 1.0 In-Reply-To: <4284996.N31E5Y01de@wuerfel> References: <4284996.N31E5Y01de@wuerfel> From: "Lad, Prabhakar" Date: Thu, 19 Nov 2015 13:26:06 +0000 Message-ID: Subject: Re: [PATCH] [media] davinci: add i2c Kconfig dependencies To: Arnd Bergmann Cc: linux-media , Mauro Carvalho Chehab , LKML , Sekhar Nori , Kevin Hilman , LAK , Hans Verkuil Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 21 On Thu, Nov 19, 2015 at 12:59 PM, Arnd Bergmann 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 Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/