From patchwork Tue May 6 08:05:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 346071 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 29B5C141338 for ; Tue, 6 May 2014 18:05:28 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934395AbaEFIF0 (ORCPT ); Tue, 6 May 2014 04:05:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58101 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934254AbaEFIFY (ORCPT ); Tue, 6 May 2014 04:05:24 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 80D89AAF1; Tue, 6 May 2014 08:05:23 +0000 (UTC) Date: Tue, 6 May 2014 10:05:21 +0200 From: Jean Delvare To: Wolfram Sang Cc: Linux I2C Subject: [PATCH] i2c-eg20t: Fix Kconfig dependencies Message-ID: <20140506100521.03861792@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-suse-linux-gnu) MIME-Version: 1.0 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Jean Delvare Subject: i2c-eg20t: Fix Kconfig dependencies The i2c-eg20t driver is for a companion chip to the Intel Atom E600 series processors. These are 32-bit x86 processors so the driver is only needed on X86_32. Add COMPILE_TEST as an alternative, so that the driver can still be build-tested elsewhere. Signed-off-by: Jean Delvare Cc: Wolfram Sang --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-3.15-rc4.orig/drivers/i2c/busses/Kconfig 2014-04-14 09:42:29.899075210 +0200 +++ linux-3.15-rc4/drivers/i2c/busses/Kconfig 2014-05-06 09:59:00.175785765 +0200 @@ -449,7 +449,7 @@ config I2C_EFM32 config I2C_EG20T tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C" - depends on PCI + depends on PCI && (X86_32 || COMPILE_TEST) help This driver is for PCH(Platform controller Hub) I2C of EG20T which is an IOH(Input/Output Hub) for x86 embedded processor.