Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2825761pxv; Mon, 12 Jul 2021 02:53:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9RJKlTLAneS+LIkD+gKPSosWjwDsJ7ATXCFHAO/X491olzkfUdIhaFm7S4RJxYghId+C+ X-Received: by 2002:a05:6e02:13ec:: with SMTP id w12mr269250ilj.290.1626083613418; Mon, 12 Jul 2021 02:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626083613; cv=none; d=google.com; s=arc-20160816; b=RPiT0KPtUjyJjvd+JIvTAFT3/OA/Y1XA+jVw+84KhLPpvyItqs8yNd3c/TZ7kQihjg DQbLF/d5K6N1ZZqh7MGM++JUgIt9ctoJ2czR7Q3cyg12VEi8PYsjy/0NXFUWGtD31jEU LkfWhPFrl2Gm8lPx5auM3MWXfrFZZMoyVSFQwoCu9yWp/zsE1szhw1D6wLLDD/0VgAPb Qbrmcg/S3Bef1Q3XtRUGEthAEYVJUS8MhO7WcKjgJFMQyT6rMkKQyGqUzHxV0mNZefmx SbW2+Xz09lEwkNK/r1ry8BOb45/f9bycxND94oFrJejIsrGfJ/hRcMOr0WqcjKwlJjxG wtXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yYVGwA3TozscV5+LxIAXJwp7Sc8qiYpjBe2KUmYiKrI=; b=UuEHdJU3qyszgRMn+Fbxk3nEIyFCByPDhmbzNKh3Tk55IEjCikuWrnLDu8e1jDWEb3 2+1ckqJeE3lFFG7Rgou6KvyFuOQUYeIvs19f3obhpRNgsLnImPoOclp6xlmO4gz8hxT3 87bpdL2UtKwdBdCA9dPra0HsfrsqTcX7gUNSLvqf2m8m/1PX5gLdNeshanuvHVNnrPRg Bl67In2tgZbww1reP9j9mnReFWZWRc+i9KysoN5vnx0BfVE3jVTzZgTj3Sz59Q9Tb9Vt n0ZtjZGPOajWMH/4p62mYq3T4A6PiF1TBTkJXfgUp98Yi1ZPE/g6vKzFpDazdxt96rjo f4MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y1iP0N4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si17032744jaj.28.2021.07.12.02.53.22; Mon, 12 Jul 2021 02:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y1iP0N4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238615AbhGLGw2 (ORCPT + 99 others); Mon, 12 Jul 2021 02:52:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:34598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238397AbhGLGkL (ORCPT ); Mon, 12 Jul 2021 02:40:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0114A610FA; Mon, 12 Jul 2021 06:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626071830; bh=7gfdEJhHUedbdgeOCWVpkdWcnvfrcovE8dg4Qj0+j6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y1iP0N4YmMOendWPBbcmW3E/Y2l9FgXoGuc1C7OxIHu9GNtPnErJa/k8Ngs1JZqtS z7WQPQujeVBmyg3g2Mc7sGxAw0achiKHZ6qbeWhtSSyI/q5jUapOfD4+cZMUWgaIG1 YE8d3NSbIfXHNqK1wUZPlpLNXKxfGbhkYXtzQyXI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Geert Uytterhoeven , Michael Schmitz , Dmitry Torokhov , Sasha Levin Subject: [PATCH 5.10 237/593] m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning Date: Mon, 12 Jul 2021 08:06:37 +0200 Message-Id: <20210712060908.960720913@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060843.180606720@linuxfoundation.org> References: <20210712060843.180606720@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit c1367ee016e3550745315fb9a2dd1e4ce02cdcf6 ] Since the code for ATARI_KBD_CORE does not use drivers/input/keyboard/ code, just move ATARI_KBD_CORE to arch/m68k/Kconfig.machine to remove the dependency on INPUT_KEYBOARD. Removes this kconfig warning: WARNING: unmet direct dependencies detected for ATARI_KBD_CORE Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=n] Selected by [y]: - MOUSE_ATARI [=y] && !UML && INPUT [=y] && INPUT_MOUSE [=y] && ATARI [=y] Fixes: c04cb856e20a ("m68k: Atari keyboard and mouse support.") Signed-off-by: Randy Dunlap Suggested-by: Geert Uytterhoeven Suggested-by: Michael Schmitz Acked-by: Dmitry Torokhov Link: https://lore.kernel.org/r/20210527001251.8529-1-rdunlap@infradead.org Signed-off-by: Geert Uytterhoeven Signed-off-by: Sasha Levin --- arch/m68k/Kconfig.machine | 3 +++ drivers/input/keyboard/Kconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine index 17e8c3a292d7..e161a4e1493b 100644 --- a/arch/m68k/Kconfig.machine +++ b/arch/m68k/Kconfig.machine @@ -23,6 +23,9 @@ config ATARI this kernel on an Atari, say Y here and browse the material available in ; otherwise say N. +config ATARI_KBD_CORE + bool + config MAC bool "Macintosh support" depends on MMU diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 793ecbbda32c..9f60f1559e49 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -67,9 +67,6 @@ config KEYBOARD_AMIGA To compile this driver as a module, choose M here: the module will be called amikbd. -config ATARI_KBD_CORE - bool - config KEYBOARD_APPLESPI tristate "Apple SPI keyboard and trackpad" depends on ACPI && EFI -- 2.30.2