Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1272511pxb; Fri, 24 Sep 2021 00:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ2Iw+AIaOfEV0XX837zYzIFZlLY2P0UixksEY/DEjZKoInbxwcnQ+YpSQ3+/mqo49LN71 X-Received: by 2002:a17:907:3e05:: with SMTP id hp5mr9480562ejc.527.1632467686298; Fri, 24 Sep 2021 00:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632467686; cv=none; d=google.com; s=arc-20160816; b=bM2vEzup4I+W1K7XrzcDxb+bA/95HVQUB3uTD3RTOAHSHZ1vJSH1YN7HXpd9fnC2pp aOTjDwX+06gzYCthIPc5yfl29jE1F32QGjPAiiHY35bNathLE76ognomfPoeZJEFSIUL G83XgNf+mnPrO2wVztFxsVuaUZjMxq3ZFsUdpXtQV20h4VzTwleEKs9L0mJILY4oWUte VPlJMkXvj6m0BZZyLBNVsssgU2imS70Rc9I4zygwCHQ5a+vd4lDFL8JsQRzT3DcG3mmo mvaA1jFbkQi8YSnOepQ79d3rK3UcnfLLhgUKLJmbpFYhn8UXv7QA5H1AHzJtYxSbOjGt wOKw== 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 :message-id:date:subject:cc:to:from; bh=pTeQ+kAgDsUlQ+JMjl2YSNSxa51tBCzGOA8XFSAQ3oA=; b=otYwpqjZFF2Y1LmUNyx0521Z2UWlG5epchRg6mpVbjRdA63UK1LXsX2zn0/yetlf0c Plg1wpqaNGOlqHtihDYboXdRpOn/ebhHC2jaeBETAi6YDjfGo44rEvTJF98bFsqmbpmg SC0YFOn6drwqY5stwYvGDetp2tva89EVa/N2hlipNei+99zRZIjf1Y+wLfvTyZUZKDD7 IyPyZ9PW8P/3sOKQUEXPyi15maUYGaYpu5UmLHiDFm8L2uA0qCcCk8ccxdXyR2Fb/uSd f4mpUH0apa6kVVn51UC08mLmbwIs9Bp9sCGLJbcA3KKnMhJVJdd0Fn+x6sn5Jr693GAK 4jLw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si8567086ejf.233.2021.09.24.00.14.22; Fri, 24 Sep 2021 00:14:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244346AbhIXHOQ (ORCPT + 99 others); Fri, 24 Sep 2021 03:14:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244191AbhIXHOL (ORCPT ); Fri, 24 Sep 2021 03:14:11 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64E81C061756 for ; Fri, 24 Sep 2021 00:12:38 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:5dd8:9bc4:3752:5710]) by laurent.telenet-ops.be with bizsmtp id xjCa250062gynNa01jCa9H; Fri, 24 Sep 2021 09:12:36 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mTfNp-008Vbt-Qj; Fri, 24 Sep 2021 09:12:33 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mTfNp-007LLw-BV; Fri, 24 Sep 2021 09:12:33 +0200 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Shawn Guo , Li Yang , Scott Wood Cc: linux-serial@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 1/2] serial: 8250: SERIAL_8250_FSL should not default to y when compile-testing Date: Fri, 24 Sep 2021 09:12:30 +0200 Message-Id: <6421f256407262afd658ffa74ec9430581528a7d.1632467477.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit b1442c55ce8977aa ("serial: 8250: extend compile-test coverage") added compile-test support to the Freescale 16550 driver. However, as SERIAL_8250_FSL is an invisible symbol, merely enabling compile-testing now enables this driver. Fix this by dropping the COMPILE_TEST default again, but making the SERIAL_8250_FSL symbol visible instead. Fixes: b1442c55ce8977aa ("serial: 8250: extend compile-test coverage") Signed-off-by: Geert Uytterhoeven --- v2: - Split in two parts. --- drivers/tty/serial/8250/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 808268edd2e82a45..0af96f3adab517f6 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -361,9 +361,12 @@ config SERIAL_8250_BCM2835AUX If unsure, say N. config SERIAL_8250_FSL - bool + bool "Freescale 16550-style UART support (8250 based driver)" depends on SERIAL_8250_CONSOLE - default PPC || ARM || ARM64 || COMPILE_TEST + default PPC || ARM || ARM64 + help + Selecting this option will add support for the 16550-style serial + port hardware found on Freescale SoCs. config SERIAL_8250_DW tristate "Support for Synopsys DesignWare 8250 quirks" -- 2.25.1