From patchwork Mon Mar 4 19:57:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159583 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4152615jad; Mon, 4 Mar 2019 11:58:51 -0800 (PST) X-Google-Smtp-Source: APXvYqy7A1vMa6CBKPUcohxNGjZrA09PzBb+tupF8TAUYd+DA85/7hPkQ8ImL3HDkqrE1lmdGzSq X-Received: by 2002:a65:4284:: with SMTP id j4mr20144290pgp.334.1551729531233; Mon, 04 Mar 2019 11:58:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551729531; cv=none; d=google.com; s=arc-20160816; b=eS/rDo13KEjnaUDWRc/SgBXMQGO9mfiaGiqqFCEZojCCyAgTxRyGctAR0MB606w15x io4RFDyBYjaGzEhDd4k3Fpd3PFH+l7CQ8zPZIUhcpx6d+t1HiUhA0QFd5UNEU6u/YxR0 82zpbciD103YS0rPA3bb22K6UYRkahG+UX3AwU9Tz5VEZEvyKbFQZ8FMqUwJu30hu74V /D+t3dbAa8HFwoRJvF/rsWyn6R0C0OAoBjyord5iUt+vdPt/6yCgcS/8gopB1lrAymWx IVcnlkyBWKYDL6YEW0lFAKlYDapr+z7ucyJ11Iw8CbKNzi6vT+iRChyC9f0Ndf2VUgAk VzLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gBSZwT0LaFwUQp8FngEnR9zpoQMYLQ1bgezfpsnVKnA=; b=KrjF8AGQNJedVisShb8w8wkYTv6xMBDp1mWcRbSQXxW1ubYJDEVwkE7CXbcg9yFF2r M1Hqmq8x88bz9DisEHi1ky4NmauGRfd3ckD7qmiVkakEYJFZe1z3+FTJ1nrlGZiuBXWa ifwZFlcJ2k5X1yhF1/iSMGQTB/X43yjkBY642oH0bHGOqmTeNWW78Wyt494KDdAkOx2d EK2E3CtP5m6VLmyQjvoju/sJ8gwYOIdynDypUK5x8D9e3PFatBer2dHLhVY/SDReGXir Sru8eyRbeJm+yBI53aYgZGvZN8+zdU5HVpM8Oqcqs2Svg37oR03g0zIeDJUdXvePxUVO aOPA== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i30si5873575pgb.413.2019.03.04.11.58.51 for ; Mon, 04 Mar 2019 11:58:51 -0800 (PST) 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 S1726158AbfCDT6u (ORCPT ); Mon, 4 Mar 2019 14:58:50 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:38719 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfCDT6u (ORCPT ); Mon, 4 Mar 2019 14:58:50 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MV5G4-1ga3RQ2lyo-00S7VB; Mon, 04 Mar 2019 20:58:46 +0100 From: Arnd Bergmann To: Dmitry Torokhov Cc: Arnd Bergmann , Zhu Yi , Nicolas Saenz Julienne , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: raspberrypi-ts: select CONFIG_INPUT_POLLDEV Date: Mon, 4 Mar 2019 20:57:53 +0100 Message-Id: <20190304195845.1096214-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:cg93aIPM4bd+ibdb9VisYXpZi4JfThg9wT+PQdqsQsm9+e3822Z I2ldUl3FzJdRYkmu+cq5aUksjGMuJfMHJqfwgat6rulGA6TzW3HDHy1Oa23MMAlcu/qAJJe jJPtnCQVBxfUGAMubVQfvdCW6bPecgIM5doZJUeAGVciwUGSwmNN9owcui1PIXrLrQi2YGQ 1J7wps5XStuKzO+oVnJMw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:uSUgUQkxPbQ=:4tRef4TaTQuQiX2lft9kTe HUni0s8h/Rblplh7ge/BIjG92Mo3IbfgaDZvH+j+ucnsxVOUyu3grCB9H3PDGehSz1eP5NfBy B6k0M/PPBSmPMhamjZBGdiLVXgdfKDKt6WwqLxN9GT1c8jCIwNx1ZR8KFm4U1H8wa4NLrIYRf OuhOTHhh95l1eF0RSlozKk/ohhMv6nN7WiVt8Qs7dtG367e+x7ymVvAxrsCh/5KufKt+Blzt4 gXX33RXYueSwey+isyHVbFNG2ycmnXp8ZjPWP1pF3fXlnYwltQHQU+atYjw4fz6tVrKpATuJJ EP098Zi0xHczp9/BIoOZClaeYTGmkCwpM/3JDfGU4NFSLvfBqiXj5jql3ilFXpX+us+MTXnmm 8a/GlT/YKErylwyTeyOjl4cuBOYFIaojbBhgk3X6HmNvT2radLkILl2wP4/QR8kC9K+Mgk0Yt 1TyGFBmaZyT94gCPnLwgEzMzyURhjqF2qhsal2kiX6lT7yYVpGgDslCO33WegJzOiKY56oHr4 LlIqyTK2J6mfIk+TmPaCiKx656bQ+JY3J8cp6+Lwl+hmx5RI+Tev2azMDv7pYaEehDOgOu04p JCs54Jmfiwhtt+9hYAFx8tLqcu66KLOCet7Ly83kw6rT1Zd43mMDMJegRzK1epLoXyLg/S8JD JvQy7FSSblC2juf2MCiA1ahkS3GTt7KVzLbhA5z9OFO0WU7BEEP0SG3baXgNGxJhAPIInhv9g pl+VeBbo3vC1B/Uq6zFUmrqAFYx37Fc2+LsacbUy7wxGOkOX20l+dXWmyZVhd+tq03tI2zWV2 j6JcCD8kiE5kMwF6Tp5wTzghVO5+EFcGDc40rLaRig9wzEjaGE2v+w0AfdnazyYOKO107DzVj rLaPerim+VL4v7bTkzBxEBVG77oF6950d7tDkWA1B3+8Mpy2QNbNP1+PwUxQiU0xYXEmew9yn ol+SGb5LTlA== Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org When CONFIG_INPUT_POLLDEV is disabled, we get a link error: drivers/input/touchscreen/raspberrypi-ts.o: In function `rpi_ts_probe': raspberrypi-ts.c:(.text+0xec): undefined reference to `devm_input_allocate_polled_device' raspberrypi-ts.c:(.text+0xec): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_input_allocate_polled_device' raspberrypi-ts.c:(.text+0x19c): undefined reference to `input_register_polled_device' raspberrypi-ts.c:(.text+0x19c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `input_register_polled_device' Select that symbol like we do from the other similar drivers. Fixes: 0b9f28fed3f7 ("Input: add official Raspberry Pi's touchscreen driver") Signed-off-by: Arnd Bergmann --- drivers/input/touchscreen/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 Reviewed-by: Nicolas Saenz Julienne diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 7c597a49c265..7a4884ad198b 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -699,6 +699,7 @@ config TOUCHSCREEN_EDT_FT5X06 config TOUCHSCREEN_RASPBERRYPI_FW tristate "Raspberry Pi's firmware base touch screen support" depends on RASPBERRYPI_FIRMWARE || (RASPBERRYPI_FIRMWARE=n && COMPILE_TEST) + select INPUT_POLLDEV help Say Y here if you have the official Raspberry Pi 7 inch screen on your system.