From patchwork Thu Aug 4 13:07:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101972 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1385414qga; Thu, 4 Aug 2016 06:10:17 -0700 (PDT) X-Received: by 10.98.149.131 with SMTP id c3mr127339556pfk.73.1470316217612; Thu, 04 Aug 2016 06:10:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wh1si635453pab.238.2016.08.04.06.10.17; Thu, 04 Aug 2016 06:10:17 -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 S1756397AbcHDNKP (ORCPT + 1 other); Thu, 4 Aug 2016 09:10:15 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:62034 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbcHDNKO (ORCPT ); Thu, 4 Aug 2016 09:10:14 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue103) with ESMTPA (Nemesis) id 0LlHiI-1awmNG1in0-00b391; Thu, 04 Aug 2016 15:08:04 +0200 From: Arnd Bergmann To: Dmitry Torokhov Cc: =?utf-8?q?Mika_Penttil=C3=A4?= , Tammy Tseng , Yuger Yu , Arnd Bergmann , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: sis-i2c: select CONFIG_CRC_ITU_T Date: Thu, 4 Aug 2016 15:07:06 +0200 Message-Id: <20160804130758.1253722-1-arnd@arndb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vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The newly added sis_i2c driver fails to link without the CRC_ITU_T driver enabled: drivers/input/touchscreen/sis_i2c.o: In function `sis_ts_irq_handler': sis_i2c.c:(.text+0xc0): undefined reference to `crc_itu_t' This adds a Kconfig select statement. Signed-off-by: Arnd Bergmann Fixes: a485cb037fe6 ("Input: add driver for SiS 9200 family I2C touchscreen controllers") --- drivers/input/touchscreen/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.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/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 8d893cefb0e3..2fb1f430a431 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -1074,6 +1074,7 @@ config TOUCHSCREEN_SILEAD config TOUCHSCREEN_SIS_I2C tristate "SiS 9200 family I2C touchscreen" depends on I2C + select CRC_ITU_T depends on GPIOLIB || COMPILE_TEST help This enables support for SiS 9200 family over I2C based touchscreens.