From patchwork Wed Apr 23 17:28:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 28916 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2FD612057C for ; Wed, 23 Apr 2014 17:29:01 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf2981610qge.8 for ; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=lSQvzcuBSGLblt5VwmNwVTDl9WUC2j95yuFNeafiqpo=; b=GZkn/l8V/9ckR4hIDqjcHLIaW25QCBiN+CUL51MSThON2NsuTPsLFFrtnxo6nHFwv3 RnJh1njWMNV1oM0VptVqIDIMwY0VrnyqywrLX1mQ+IlLNp5qY3QWwqsb4kvp2G7/eiz0 hL6U/vQaJOs+w+/OaEMRKI4vkFzouekagUxlKs1/Xz4O59fPwPLWtc/yp6wF2Ae3WK0X HRAvIB3IvxJjVj2vJ3DFlTVH6wU7Vnaw9x46feL0eU7rMfg6Fy83BUj2Pmi0CIeSu2IO ollJD5J0Cvfo53Zn7HRzDqfpGiEyZPcYAXmW2Db7Jmo7BVV8RHk/e4h/HCDSAg4SsjI8 sp1A== X-Gm-Message-State: ALoCoQmHqehnXII6oHjFlzoDbmXymIWH4a+EC7BX3u7fcZNPH6J2BDaJ0qg/9uw6ym9qwTj21XbZ X-Received: by 10.58.46.240 with SMTP id y16mr25769816vem.2.1398274140915; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.114 with SMTP id m105ls776184qgd.87.gmail; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) X-Received: by 10.58.77.238 with SMTP id v14mr642795vew.27.1398274140786; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id r7si301868vcn.187.2014.04.23.10.29.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:29:00 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id ib6so1517020vcb.41 for ; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr43360980vcb.0.1398274140718; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp120699vcb; Wed, 23 Apr 2014 10:29:00 -0700 (PDT) X-Received: by 10.180.218.35 with SMTP id pd3mr2810987wic.26.1398274137919; Wed, 23 Apr 2014 10:28:57 -0700 (PDT) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by mx.google.com with ESMTPS id t9si1741646wif.117.2014.04.23.10.28.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:28:57 -0700 (PDT) Received-SPF: none (google.com: peter.griffin@linaro.org does not designate permitted sender hosts) client-ip=74.125.82.176; Received: by mail-we0-f176.google.com with SMTP id x48so1174344wes.35 for ; Wed, 23 Apr 2014 10:28:57 -0700 (PDT) X-Received: by 10.180.105.72 with SMTP id gk8mr2802234wib.32.1398274137389; Wed, 23 Apr 2014 10:28:57 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id go20sm2372382wjc.18.2014.04.23.10.28.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:28:56 -0700 (PDT) From: Peter Griffin To: peter.griffin@linaro.org Cc: patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 03/13] video: clarify I2C dependencies Date: Wed, 23 Apr 2014 18:28:37 +0100 Message-Id: <1398274127-2106-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398274127-2106-1-git-send-email-peter.griffin@linaro.org> References: <1398274127-2106-1-git-send-email-peter.griffin@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann We can only use I2C support in frame buffer drivers if Either I2C is built-in, or both I2C and the driver itself are loadable modules. Fix this dependency for MB862XX and CyberPro frame buffers. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org --- drivers/video/fbdev/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index a4116bf..5577a94 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -360,6 +360,7 @@ config FB_CYBER2000_DDC config FB_CYBER2000_I2C bool "CyberPro 2000/2010/5000 I2C support" depends on FB_CYBER2000 && I2C && ARCH_NETWINDER + depends on I2C=y || FB_CYBER2000=m select I2C_ALGOBIT help Enable support for the I2C video decoder interface on the @@ -2296,6 +2297,7 @@ endchoice config FB_MB862XX_I2C bool "Support I2C bus on MB862XX GDC" depends on FB_MB862XX && I2C + depends on FB_MB862XX=m || I2C=y default y help Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter