Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3223929imw; Mon, 11 Jul 2022 04:40:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v/BHwgE++2NGha2RNHWnx+zUnI6Lw0zxnbm/YFm2ZHajvzOT1alkIe3N3qyLGm2kNZX644 X-Received: by 2002:a63:6888:0:b0:3fe:49fc:3be3 with SMTP id d130-20020a636888000000b003fe49fc3be3mr14914204pgc.182.1657539625533; Mon, 11 Jul 2022 04:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657539625; cv=none; d=google.com; s=arc-20160816; b=fFWJDd4VVepGi6OOCO05tP3okHiW4hyiiixrbK+iSNqtQHml5gVeemw8QYJkgaVx2q +BmMJX9iEErTUA4d8XIt9Yai2kznC6iiaZ8GO4rIDLuYzmBu2eRfSjJFFHYDjnS1zZu7 NXl9tBqyQQl8m3BnO736iv54acUbmJx4uf7aYfvCcjqQqpYa8OzWf0qznsZl+WXxIIj8 yXn6GfIxhqgEtrIBO1oBHjwYRtY+Qb2XdAfgkLVanSugAmXbv0Wj3nm9sKY5SlAhMRMj 1HnAtVkD8hp1TrFH6S71wtXOp1rcuUsTqeR1xTUKQ76SPUxSf8I92c94GmCKmL2j/msJ 4CYg== 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=BTo3ImgNNjpSdgJH4spz4DQ1R775t9StOYzPCsk0jJw=; b=iThly/0RYPNztnBKCzB6D9+2zdLXxpMXVC5ihaNOZcH1kyN5XOP6MeZoy73gblvZi0 WGy5seyHpNCaINUnCuXKUmCs7jXbuAlzEvwg0pfnadg2fCBTkdp4ZOKzM4Z5+l00QuWi /Y9Rq38u47X2aGphYgBtP+atVTYwYtdl1v3X0ISJY0xD5YRdTDUKB6oeeotjgncMsWnU w/+wvVIpW93gQ719V2TPiPOEyTnIbFG6MCyTdcLTBFAGdIumCDVC3dEGr3dUSMMTbYx3 xeOyLKt6zvOiKWSJ2O3YoHKP0j/hIJm5mYOoHjcM8jE+wQOBbshvOXfsMEyaZley5wF8 WbPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r73-20020a632b4c000000b003fdbe9d3498si8653640pgr.877.2022.07.11.04.40.13; Mon, 11 Jul 2022 04:40:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230439AbiGKLOI (ORCPT + 99 others); Mon, 11 Jul 2022 07:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbiGKLNb (ORCPT ); Mon, 11 Jul 2022 07:13:31 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9C2186EB for ; Mon, 11 Jul 2022 03:28:03 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by albert.telenet-ops.be with bizsmtp id tmU12700b4C55Sk06mU14Z; Mon, 11 Jul 2022 12:28:01 +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 1oAqCw-0032if-I7; Mon, 11 Jul 2022 12:00:02 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oAp0H-004S3w-R4; Mon, 11 Jul 2022 10:42:53 +0200 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby , Jeremy Kerr Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED Date: Mon, 11 Jul 2022 10:42:52 +0200 Message-Id: <259138c372d433005b4871789ef9ee8d15320307.1657528861.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Aspeed Virtual UART is only present on Aspeed BMC platforms. Hence add a dependency on ARCH_ASPEED, to prevent asking the user about this driver when configuring a kernel without Aspeed BMC support. Signed-off-by: Geert Uytterhoeven --- drivers/tty/serial/8250/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index c621c21db7863278..6c1d2e70e497a19a 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -254,6 +254,7 @@ config SERIAL_8250_ASPEED_VUART depends on SERIAL_8250 depends on OF depends on REGMAP && MFD_SYSCON + depends on ARCH_ASPEED || COMPILE_TEST help If you want to use the virtual UART (VUART) device on Aspeed BMC platforms, enable this option. This enables the 16550A- -- 2.25.1