From patchwork Thu May 19 13:52:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102313 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp3216055qge; Thu, 19 May 2016 06:53:43 -0700 (PDT) X-Received: by 10.66.249.228 with SMTP id yx4mr19850038pac.29.1463666023355; Thu, 19 May 2016 06:53:43 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r82si20205935pfa.239.2016.05.19.06.53.43; Thu, 19 May 2016 06:53:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754988AbcESNxm (ORCPT + 1 other); Thu, 19 May 2016 09:53:42 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:55505 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754986AbcESNxl (ORCPT ); Thu, 19 May 2016 09:53:41 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lucy0-1blDZQ2mwa-00zjca; Thu, 19 May 2016 15:53:36 +0200 From: Arnd Bergmann To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Daniel Hung-yu Wu Subject: [PATCH 1/2] Input: atmel captouch depends on i2c Date: Thu, 19 May 2016 15:52:24 +0200 Message-Id: <1463665954-3898044-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1463665954-3898044-1-git-send-email-arnd@arndb.de> References: <1463665954-3898044-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:gDXQpwVJIy6fTXhUIdGsPWrKLNdxoptpOR+OEMrIZcbrbv4KFe2 Orftnocu1TcnCjFqPfTD8nhgZc/wWpQmyXeeuTDy7cVq+y9vDcjenJfgfnKTiGCx2swGPF2 YAJbfJYSh/anbyNWs6BGZBNs8yHuSKyYRa36EWdbVTSTr7m06BpRZSmP8Us778ErGn6W9sG 0Vub/OJD0TYPQQL/ys1GA== X-UI-Out-Filterresults: notjunk:1; V01:K0:VRZ1o6Xi0qM=:BZrQ5VugNEY182LgHjcwOu JHcscnnPQMgmKElxUeXDuLxIPL/pOIYQ38rYjyr1B00rP/ASTCyO4NFTdQT5cOxhTSzF0bU0g OkoxjtM5AQWHc2iyquGUOS9VAnkeSDoMUkPyL+QUQpyTDyPWBzW8nxb5Q4w/mbRpK+GOcDvTZ l/mTleF1xHRY0JFVHyscMWy7iOK83V0W4rk8I0HssVodk0lmZzwtcqpkl6sC2yqoLMTgROjMW BHp3RhkUdgwh/Pus70W4FqNd/IA0FTGf6FCI57Cq/ArIMoTDnngJtFS7TUhwb+zmvJOJoLaym 3aIiS2B2jTuD3TPiBe/Arivm03D1dXBNCi3maedMIvqWlOzBMbU6/e40vwCFYX0JCz+ulXJal LINTyODOgv4Ecii808LlmUdvTxN4d9H67Jo2j1BNaVCayguoO4IT2uAEYRJr0/+M90hrY2XW+ rBEFMUhOkixgzXw462CG8qVmCuR5F83bJnDS2zjMCqWcwb1jx3AmLUQsV8XheApjd7qsF3rdF nYpIsP4gSFwLa6NB66UVoDQhPCsoa2ukSIvA7MiI/W8NWcObIHRP1almixgkpvxLcZCBHS4ur qKhee88MrACqYGUbz/yGJRgYX0Zg3Li6qgfd3+dDNG8ebxrKLbzTzq/Yw37VHcJgm550yl6ti 6mVc6XDnTwXK8nu7yO/BtYMdHnp73j0zMkxmSr4Bl86bGls43q2YAWF+WT5vm6mC3pYg= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The newly added Atmal captouch driver fails to build when CONFIG_I2C is disabled: drivers/input/misc/atmel_captouch.c: In function 'atmel_read': drivers/input/misc/atmel_captouch.c:115:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration] This adds an explicit Kconfig dependency to prevent the broken configuration. Signed-off-by: Arnd Bergmann Fixes: b06d43f7a3db ("Input: add Atmel Captouch Button driver") --- drivers/input/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 9c3dfe79d4d4..27d6da0e354a 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig @@ -85,6 +85,7 @@ config INPUT_ARIZONA_HAPTICS config INPUT_ATMEL_CAPTOUCH tristate "Atmel Capacitive Touch Button Driver" depends on OF || COMPILE_TEST + depends on I2C help Say Y here if an Atmel Capacitive Touch Button device which implements "captouch" protocol is connected to I2C bus. Typically