From patchwork Thu Apr 11 11:08:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 10895781 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 59543139A for ; Thu, 11 Apr 2019 11:08:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DCAC288D1 for ; Thu, 11 Apr 2019 11:08:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 325DD28979; Thu, 11 Apr 2019 11:08:11 +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 7A40C288D1 for ; Thu, 11 Apr 2019 11:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbfDKLIK (ORCPT ); Thu, 11 Apr 2019 07:08:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:48736 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726121AbfDKLIJ (ORCPT ); Thu, 11 Apr 2019 07:08:09 -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 C3E23ABCE; Thu, 11 Apr 2019 11:08:08 +0000 (UTC) Date: Thu, 11 Apr 2019 13:08:07 +0200 From: Jean Delvare To: linux-input@vger.kernel.org Cc: Lubomir Rintel , Pavel Machek , Dmitry Torokhov Subject: [PATCH v2] Input: olpc_apsp - depend on ARCH_MMP Message-ID: <20190411130807.3667c0ee@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, using the Marvell MMP architecture, so don't present this driver on other architectures except for build-testing purposes. Signed-off-by: Jean Delvare Reviewed-by: Lubomir Rintel Acked-by: Pavel Machek Cc: Dmitry Torokhov --- Changes since v1: * Restrict to ARCH_MMP instead of just ARM, as suggested by Lubomir and Pavel. 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-11 13:04:34.280536001 +0200 @@ -254,6 +254,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" + depends on ARCH_MMP || 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.