Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2708937pxv; Sun, 11 Jul 2021 23:24:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy14+aXgIvBoJuqpy+ynKFGGNIHTHrqT7wljzQzGiEXfe7d8pMc0GMQWBvBMrxvNkHQ15JN X-Received: by 2002:a92:cf4d:: with SMTP id c13mr1251527ilr.240.1626071096138; Sun, 11 Jul 2021 23:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626071096; cv=none; d=google.com; s=arc-20160816; b=cz1CQkIvodBgVJO8WoYvp3vayZBxk85PR/ovUPZ37WeHVotn7dYivx7R3iye42mK0J 7FxYrvEFVkWI11O7asal9VHKxpln6ZYIdPRhDkxD4Z+UyrnP/b948Q0r/h7a5A2jgY1e NKGhl6QLmuDH7msgcj7QvUlhVPp/u/pBLfuE8wZTNk3UMyHBffBfFacmbiHONyGzRlbO LRL+AxmiUexTsoYAx5FldAO5eLTsIBFSjoQ1N7GVNCH0GmCLC8HEejCf776JQSs8f5J/ W45XxkByf1v014GwgSgequ63c6AsONf6V97dvIWoEHtB84FHKnrcXSA5LD8DTRKei0sx 7qXQ== 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=szjCNhm/JQ6no5sQPX5r+9atgm4OxB/0UOgF4smhwNQ=; b=PU9yjq93DaDSZevfeP/JxIXjuwdmIouzlhTz18RC0dkh2fXJdJn9jM30CWlTdRetLW avbWozk7Cdc0PblKEJI9coQNLmpE+lyU26xvieqOnNPDF4CH2WWtQsVtwgub8rH628vA vGsHS86I3xpntU/BUHzHdaTflbySfhcs5i0N/2xpVD6ZcY+0tOjsfABZnGKqTLviTp/F ZaNO+xShA4BFpJVV1l0N3rZku3bOW6BqC97qz0Dsge0ajHFqS+1B4w7LBDUhOwPFpbba JmcHtAIYOUTRJkURPyQGbO3hXOwlOYzAH0poxiRhAnqKQvTqOgWihZvQrfFvCBE5cess UHoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=acMc7o6w; 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 y4si15526424iln.36.2021.07.11.23.24.44; Sun, 11 Jul 2021 23:24:56 -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=acMc7o6w; 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 S234978AbhGLG0G (ORCPT + 99 others); Mon, 12 Jul 2021 02:26:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:38866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234874AbhGLGYO (ORCPT ); Mon, 12 Jul 2021 02:24:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 532A661179; Mon, 12 Jul 2021 06:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626070831; bh=KGv6zYHQWRjhWrUuCL2HdlRhrCRqjGtaSEImkPAzrWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=acMc7o6wiWibh1Eb8qGtvdDCcIZPhDR/PnfDD4mgf9Ll4qZFoqV+7c0z3PD9AwXtC csiGQKb4jhHM6zg/ZG2Gu/GkPPrWgb6QIutS9LxowX+7KWnMZCbW7hyz+Huvck8N3a zULREqO03GSntHwXExzYtwWY44s+D9Bsh5euardQ= 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.4 157/348] m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning Date: Mon, 12 Jul 2021 08:09:01 +0200 Message-Id: <20210712060721.862315384@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060659.886176320@linuxfoundation.org> References: <20210712060659.886176320@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 c01e103492fd..1bbe0dd0c4fe 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 8911bc2ec42a..ae0bdc439105 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -68,9 +68,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