Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2485265imm; Mon, 28 May 2018 09:00:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqX/EpSpYkPrRpvPk9TsruqAKZn2H3OsU4rqAvW+rZLhYfRA7bpaZOAa0CWVmHH7Qnavx1d X-Received: by 2002:a65:5382:: with SMTP id x2-v6mr11049114pgq.160.1527523218699; Mon, 28 May 2018 09:00:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527523218; cv=none; d=google.com; s=arc-20160816; b=tVS1WQSBpg4rkrd6szrlA6lLAf6z67GvfPSmlCl68Ke6RcKil307GxwfKrG+wXZCbh PCUocWVL/ypjyizVipv77VsC9RDmhEZ0EtcrPQ+szeRfQ4JPX+zQke1AgYvdehvZKAIc 6h58iauoGSK2VmFiZYSOIGIV/zepwzUBNsI/A4Q93arfI3Jhn3NsCtkcX58sJtqF7B4f ACCO2G0odnZGB5UA7WUySiYhy46ROPFQEKOYVRrmrfI8pid34ijrjWPSv7rELo2NXwaq zlirHcIAC6BT/2bV1IyFp6ujLLfyInI4Uv/fAJq5pUBzSBVGbv1BYYYKLZo9gA+LbDM2 YGlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=y7Rhl97Ig0Uuga2YM3GFQeIFhNytHDeEgykCjuxErck=; b=ocWYetpF0qW3HwiM7Fq4H9eOvng4MQ2jO7B7zUp35MZ4vjoi0egJSDHLhJcl4qjSCE LAOChheoetEvFgjMxXXSjpOrfmOMaJXdzjRNoH8XdW5Xltxo7p/hA6+bdBi+3Nkx0neg VfddgshaChqTaESU+tDA7SBCDOhVVflHkCQizqPenhRy3UBcVtsUym9oynx9xUKhKa+1 svV2iyv7Ks5X+6Pl2vrKQ89EiKP3bQk6+px9d7EYcyK7XceOh8I3p5jFK8MaLx44ZXOT gW949vAl2+zaHQ3Zcq/FkbF/3AZn9cb8qsV7WMQJ0iRzbreHxZQi1ERls0zqn1fqt3kl kh+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 o33-v6si29588827plb.432.2018.05.28.09.00.04; Mon, 28 May 2018 09:00:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932860AbeE1P73 (ORCPT + 99 others); Mon, 28 May 2018 11:59:29 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:50951 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932729AbeE1P7C (ORCPT ); Mon, 28 May 2018 11:59:02 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0LdgKV-1g6Fkt0jat-00j4TJ; Mon, 28 May 2018 17:59:00 +0200 From: Arnd Bergmann To: Benson Leung , Olof Johansson Cc: Arnd Bergmann , Gwendal Grignou , Thierry Escande , Lee Jones , Shawn Nematbakhsh , linux-kernel@vger.kernel.org Subject: [PATCH] platform: chrome: Add input dependency for tablet switch driver Date: Mon, 28 May 2018 17:58:46 +0200 Message-Id: <20180528155858.2966723-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:7yQ/qrJTiO4zeqavhzbkzn1xs9IW5rZavdqFq/Oer4kfrIskvJg slxD5Ax9FDc5grvdRKj4qW81hcC1zDptvfUDGL0JNJ54y9p+GZDgBar53ghuY1PGtIKMu7z Y50YYNyzWbZwrGNbDRcJuJASWX4Xo0KfXXanjw4H9FU5v5Q2m0PYQChaJYO7Wcn4XdK5XTt JwIyt+6i3B1EqWzeUFkfw== X-UI-Out-Filterresults: notjunk:1;V01:K0:hkSHGmWifxI=:f3VdYOwqK67k1QA5mnjZqb GzqNuQsr7VDwXgjhtdLqPRt0TLKd9vHR2+c+g/gKKWnwRhkbHfCAq44yrEAzsH3Zp4k6Q2cQR bcvBPvMjIN/VrvCvfFZRhdR5IVPvTDYB1UAGW7rXs2g3khyDWsGUjGb+/z9RkmeZ1DgK0KP6b 3usNsifnnB6TxUb0KdfSB+9t8mZ1KVkK75fx911gmxXlrK5nzdsbsyDxBstfX2TYYQXoIdOpo 3Q4mEXjbgAC/6KPVZZ0Ro8CFd71D9MR0Si9NZFHayTvE7//EoNhU3xU/1GAK+ZMsgUb30f+WP 9FadRzMJCJxePmCZfrH8oaIlVIWMTWVVi/auZUISQeFS1ruyb89mxlvBY37yiTAKH/JbUZJgv I+GvecgsZcLVUI8/onTmLtkf9Jeb20qsTenp53SxYdewDIbE0DKIzs4Tw7jSyke6j1dSil/Xn udlB7RYLltCXMiLnNxVXX1CjjGb7dA2zcTOcAmvbOlPBELBBNrohDKz3cSAc7s+kGgF2td9HP QYyqdoROK8NU/yGvXyPrWGgJvJYm3pvp7iEAF+25mvV2qRkdLFdS2U36fTdtc5CarIQgePkjQ mSaKGdsLpSSes+ZsYzEae5+QPO5eOlym3I/d+s2PmriDclwhOzRpYGSqTO0khZb6UeEDz7bqw RSXkDqsr75e1X9p0JFh76jZDt/YbKfNGZCDI/yRpC4WUKhlOZKf6wH0mt4DBWtsPV75I= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Without CONFIG_INPUT, or with a modular input layer and built-in tablet driver, we get a link error: ERROR: "input_event" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! ERROR: "input_register_device" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! ERROR: "input_set_capability" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! ERROR: "devm_input_allocate_device" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! This adds the corresponding Kconfig dependency Fixes: b418f74170d7 ("platform: chrome: Add Tablet Switch ACPI driver") Signed-off-by: Arnd Bergmann --- drivers/platform/chrome/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig index 57aabe6e94a3..cb0df9eb3e0f 100644 --- a/drivers/platform/chrome/Kconfig +++ b/drivers/platform/chrome/Kconfig @@ -41,6 +41,7 @@ config CHROMEOS_PSTORE config CHROMEOS_TBMC tristate "ChromeOS Tablet Switch Controller" depends on ACPI + depends on INPUT help This option adds a driver for the tablet switch on select Chrome OS systems. -- 2.9.0