From patchwork Wed Nov 27 01:18:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 294454 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 0D1A62C00A4 for ; Wed, 27 Nov 2013 12:18:49 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759199Ab3K0BSm (ORCPT ); Tue, 26 Nov 2013 20:18:42 -0500 Received: from perceval.ideasonboard.com ([95.142.166.194]:49515 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754105Ab3K0BSk (ORCPT ); Tue, 26 Nov 2013 20:18:40 -0500 Received: from avalon.ideasonboard.com (20.237-240-81.adsl-dyn.isp.belgacom.be [81.240.237.20]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E7D9635A4B; Wed, 27 Nov 2013 02:17:54 +0100 (CET) From: Laurent Pinchart To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Wolfram Sang , linux-i2c@vger.kernel.org Subject: [PATCH 01/15] i2c: shmobile/rcar: Restrict non-COMPILE_TEST compilation Date: Wed, 27 Nov 2013 02:18:23 +0100 Message-Id: <1385515117-23664-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1385515117-23664-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1385515117-23664-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hardware supported by the i2c sh_mobile and rcar drivers is only found on SUPERH or ARCH_SHMOBILE platforms. Restrict non-COMPILE_TEST compilation to them. Cc: Wolfram Sang Cc: linux-i2c@vger.kernel.org Signed-off-by: Laurent Pinchart Acked-by: Simon Horman --- drivers/i2c/busses/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 3b26129..92bdcf9 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -683,7 +683,7 @@ config I2C_SH7760 config I2C_SH_MOBILE tristate "SuperH Mobile I2C Controller" - depends on SUPERH || ARM || COMPILE_TEST + depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST help If you say yes to this option, support will be included for the built-in I2C interface on the Renesas SH-Mobile processor. @@ -796,7 +796,7 @@ config I2C_XLR config I2C_RCAR tristate "Renesas R-Car I2C Controller" - depends on ARM || COMPILE_TEST + depends on ARCH_SHMOBILE || COMPILE_TEST help If you say yes to this option, support will be included for the R-Car I2C controller.