From patchwork Tue Apr 9 11:29:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 10891053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 274141515 for ; Tue, 9 Apr 2019 11:29:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B8082787C for ; Tue, 9 Apr 2019 11:29:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F39AD2837E; Tue, 9 Apr 2019 11:29:44 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 49E7B23B24 for ; Tue, 9 Apr 2019 11:29:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726936AbfDIL3n (ORCPT ); Tue, 9 Apr 2019 07:29:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:36042 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726939AbfDIL3n (ORCPT ); Tue, 9 Apr 2019 07:29:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 92A97AF45; Tue, 9 Apr 2019 11:29:42 +0000 (UTC) Date: Tue, 9 Apr 2019 13:29:40 +0200 From: Jean Delvare To: linux-input@vger.kernel.org Cc: Lubomir Rintel , Pavel Machek , Dmitry Torokhov Subject: [PATCH] Input: olpc_apsp - depend on ARM Message-ID: <20190409132940.477fd7c5@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 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 OLPC XO-1.75 and XO-4 are ARM-based laptops, so don't present this driver on other architectures except for build-testing purposes. Signed-off-by: Jean Delvare Cc: Lubomir Rintel Cc: Pavel Machek Cc: Dmitry Torokhov Reviewed-by: Lubomir Rintel Acked-by: Pavel Machek --- We could even go for a more specific dependency, if anyone knows which would be appropriate. drivers/input/serio/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-5.0.orig/drivers/input/serio/Kconfig 2019-03-04 00:21:29.000000000 +0100 +++ linux-5.0/drivers/input/serio/Kconfig 2019-04-09 13:20:09.822700623 +0200 @@ -254,6 +254,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" + depends on ARM || COMPILE_TEST help Say Y here if you want support for the keyboard and touchpad included in the OLPC XO-1.75 and XO-4 laptops.