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: 9263617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B7AD60754 for ; Thu, 4 Aug 2016 13:10:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D01B283E1 for ; Thu, 4 Aug 2016 13:10:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 206BD28409; Thu, 4 Aug 2016 13:10:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 514C4283E1 for ; Thu, 4 Aug 2016 13:10:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756397AbcHDNKP (ORCPT ); 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=20Penttil=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.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Wdd5PN7Tq/BWYTCWGI8kNpwYCTZHRUHoqmJt9SAbMghgNb0J8z0 86nrb1e8szZ8iMU3dmMI/avkhFpdyddSwRMqFK4AdUz+D6Y4Jf4cm8OGAFQyxC4kboneP8v 7IiGW+HtvuHcokO21PgpA8v9A9nGtr05ZeyaTN1csFbK1PdL3OurYwbE0UIyVW6g2KwB7fe 4KRjw15sUi2Zx4ZfAgpKQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:o+ErWq/skNA=:YrNquyd2cqEVoLOnEu4pFG 6Eol0+p+L9k7uEBpi4VFDOOGBJvTRiIXOAF2wQGKGLkrFaOeJen064+/troLzQVreMS0pBbzQ USp0paFhlHVpilEuyNqjTmiTM+sA4d1ztOaGIpyHByMvafKwTKN6wVe0nORkyJrMoajvI+Xpq YJpldiZlW4PY5W7HUH3jP0p5Tb9k4GhXbkYxx7g8Hi0IkKH06ymEPsk/MO8qLXCf8MWwmZNDE dSwpXO/rdPMv2iHaUkfg86FBuQJbyz4aYbv9qStaTIxtx4ySJodFGAR+skUdVV1ipwcRqj8lW pS/5NlnWDXzoqHYFdgS4jQ76hI37WfY2Cj+8TZAiNsi5BRT6SGSQYf3jVBnf/3HZLM0fhzCr/ /T1ge4S904ghVHfVG43rLTUc3UM53hy91sqg6TB7mW8nCwod9r/zVUuQtw1Z+gD2Kz2q+hPZ+ D/l1rUjyh/eBygZjE9FOoy7pMSL7AK7KqkeiYg+YItoXWGFmCxHJ+8nGmF7cDz8K/7p3vVOLX U8ie6fimmtBa44VUZVl7XaPBqJwr6LOvrhxFwtjRzI/Rq0Di2IHAwpGHAOxVazRNkr2TPwF4H b6z1WSu/tF/o38bAlY0u43B0Ff5dR2nuywz6b7ZGmXT08yGy2G13l/JIOb4T0m8Z8Vw41zbDK WET0bnaiZf2c6gydpdHn3A9VckjBMxIns5WdsWUwFtH6ezppZT4mhdJxfZjJq4qN8GbU= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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.