From patchwork Sat Jan 31 09:28:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 5754161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4025B9F358 for ; Sat, 31 Jan 2015 09:30:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E45B2026F for ; Sat, 31 Jan 2015 09:30:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B65972026D for ; Sat, 31 Jan 2015 09:30:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHUME-0000vv-Lq; Sat, 31 Jan 2015 09:28:50 +0000 Received: from mail-pa0-f42.google.com ([209.85.220.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHUMB-0000ud-Kb for linux-arm-kernel@lists.infradead.org; Sat, 31 Jan 2015 09:28:48 +0000 Received: by mail-pa0-f42.google.com with SMTP id bj1so62082028pad.1 for ; Sat, 31 Jan 2015 01:28:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KsqXiuh4aC6k+foEi9co+Di6eGFI4eHyneL4SHkR1ZI=; b=gU5Wxhj5BeBZx5mvlD4IPFybtBe1WrZoUmX+fPpZUGWDBnBY8YB7cguoN5Gqgx5DK/ wtes1rVN1J7mq9XoNtyPDu4Q1U+7pVoVQLmsseQGFP+GLKMfOhlhY4tPm4rOfoEkx6dt lAPYIzAmZZg/JhVyq/JC1qOg4S79Tkn6k26Y/iOfk9D3/+I25SGpmkTLU6w/M5Q5ZIfF DDkMgO7dSZkgimYVN50zc1lcqgDNLnEmIfo9dRbn6FZgRdaw0gMFgk0CbVXVA/VvvIPo E8XOCYrtsUH2dJbyAYg32RmSuowQM+qMeA6YJnSwcji8nosCPqOFfN/grPCJ+16sjS2n VHCQ== X-Gm-Message-State: ALoCoQma1i7oGnZTdMDfv5zFEpi/ua2E+3+WSdkzEMYo5Ahw80Vx/oBLgcUYQ5x/iG6uo/dS0H/S X-Received: by 10.68.57.132 with SMTP id i4mr14520682pbq.165.1422696504990; Sat, 31 Jan 2015 01:28:24 -0800 (PST) Received: from localhost.localdomain ([180.150.153.56]) by mx.google.com with ESMTPSA id jb2sm4045772pbb.35.2015.01.31.01.28.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Jan 2015 01:28:23 -0800 (PST) From: Zhangfei Gao To: Wolfram Sang Subject: [PATCH] i2c: hix5hd2: add COMPILE_TEST Date: Sat, 31 Jan 2015 17:28:15 +0800 Message-Id: <1422696495-27282-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150131_012847_705732_4B1FE1CC X-CRM114-Status: UNSURE ( 8.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Zhangfei Gao , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed accessor macros as conditional wrappers") has added {read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h. So COMPILE_TEST can be added. Signed-off-by: Zhangfei Gao --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 31e8308ba899..ddf486389dc4 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -79,7 +79,7 @@ config I2C_AMD8111 config I2C_HIX5HD2 tristate "Hix5hd2 high-speed I2C driver" - depends on ARCH_HIX5HD2 + depends on ARCH_HIX5HD2 || COMPILE_TEST help Say Y here to include support for high-speed I2C controller in the Hisilicon based hix5hd2 SoCs.