From patchwork Wed Oct 12 19:31:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9373739 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 A040A607FD for ; Wed, 12 Oct 2016 19:35:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B8FA293BC for ; Wed, 12 Oct 2016 19:35:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BF2028483; Wed, 12 Oct 2016 19:35:38 +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 E750628483 for ; Wed, 12 Oct 2016 19:35:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755970AbcJLTfd (ORCPT ); Wed, 12 Oct 2016 15:35:33 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:55579 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932141AbcJLTfa (ORCPT ); Wed, 12 Oct 2016 15:35:30 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0LqkxG-1bG8V63ya2-00eNjg; Wed, 12 Oct 2016 21:32:27 +0200 From: Arnd Bergmann To: Darren Hart Cc: Oleksij Rempel , Arnd Bergmann , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: asus-wmi: add SERIO_I8042 dependency Date: Wed, 12 Oct 2016 21:31:40 +0200 Message-Id: <20161012193224.127356-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:V229BJbdVJjpHG5H7kI8gujEWiAptH1uTD453DSrpp5jlKEdI+n 7gBkfxY3Y0qQQeXgCEGoMaIsz9f6VQaKoaj89/0uMIlBlyHO7/jl9o/HVE5CTp28cJqRu1m PczAuJV/+01KTCJGGdsGjIJLt3qFhhXD0kliactVUuZDGYTDQwt2nDsMazIjXAT3li6czfi 0vcMtkhEalhYloGRICeFg== X-UI-Out-Filterresults: notjunk:1; V01:K0:KbOzl0jVUs0=:Zs2nFCijTlfLO9XvlNBvqC HD6XeSJ8F2nr/Vz42Oxyo24xDBJvlJ88bmFYzxIslgwP4wUDlWnuR/jprwMeGP6M3Z2h5+QFp eD0GH/XF2khtb6hKVjg3iGE9uKK9D/F5ZINjSsziODZ1eGYewzrl/gB1HJuT4Wf4ybdkapdAM m+uKleTWK/vH0JtwDmHSfLOmAuFV37xNB/yzEhk5hAxOrh2jyvdTTFE0PT44sTw3NQYAv9u3h GlIIF9ZjEgeifHT4MopgaegytzPx2FwylUvukAkEG7sHNVJBXiAGNJaBZZPjyiwBd4CU2BJNU LgeOjUVm2HWjhQkGpFCjiOBavBqQxM4JF/DHoSzyuT0v9uDCZidB1kFvcRxpFEfu8NPSpFkmn AHywWTClbUkiPWiUC2W2QWQvmN4HNC4q2Buto2H3J2Fyt1Z/LXnNV4iAu5IGfNGr23Byxnldz n7WH2OMEPKFgPOdmwbi9owBWXe3MRBHB+MMPI9E6rRkwp3wkls0hGADCAayO4y84dZNwXuOcq c4FwuASi75097Liha0QCKtoP6HvvK1WwwV7h/QdX5qVDRp+NPM7Vac5PjHiB7m1EKHz0Hbob6 3dzypaN73TCRy4HE3mr3VYEIyzqi6Lf7DumhKZn1PCZSrFiJOsfyuQQfVGIid1VbzsQkQuCWe 4d9z5I9t2On0k8rrtn3bBNHDdvWlcrpwhBhsZN8os/R77nIQTYYfKfOOm5yCI2caeF58= Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A recent bugfix added a call to i8042_install_filter but did not add the dependency, leading to possible link errors: drivers/platform/built-in.o: In function `asus_nb_wmi_quirks': asus-nb-wmi.c:(.text+0x23af): undefined reference to `i8042_install_filter' This adds a dependency on SERIO_I8042||SERIO_I8042=n to indicate that we can build the driver when the i8042 driver is disabled, but it cannot be built-in when that is a loadable module. Fixes: b5643539b825 ("platform/x86: asus-wmi: Filter buggy scan codes on ASUS Q500A") Signed-off-by: Arnd Bergmann --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 9756c8354b37..6bca28472605 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -576,6 +576,7 @@ config ASUS_WMI config ASUS_NB_WMI tristate "Asus Notebook WMI Driver" depends on ASUS_WMI + depends on SERIO_I8042 || SERIO_I8042 = n ---help--- This is a driver for newer Asus notebooks. It adds extra features like wireless radio and bluetooth control, leds, hotkeys, backlight...