Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp4199757pxp; Tue, 15 Mar 2022 15:06:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJRFIBu69qkyd5AZap13akTygE7labKf+McgTMZ6fmoJVNlup8a9fLipZa5HuC9W8i163J X-Received: by 2002:a17:907:60d5:b0:6da:a62d:1845 with SMTP id hv21-20020a17090760d500b006daa62d1845mr25439513ejc.154.1647382010071; Tue, 15 Mar 2022 15:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647382010; cv=none; d=google.com; s=arc-20160816; b=tbe8X2pxuqx/6USQsqBb1qUJ246jFiL6MX91siljwmfczWlY/wIFgL37/rnuCFrPRJ DGytn3ojaLf/4k1VPnRGA9bsn9/tFHIzZBlIdZLmM4hu9FLp1BfEw9xd+z0kvrpWsEXz lFU4em2hohSMvmQlAF7BbCZzUZ+Z81YezTzbQhjElIM0yx0hflkdXQ2A2Bx2mcThFS7S f6j+nj9iAPHcNYZMCA9f7AgxwIkpsxNtL0+zhiARroP2Y8mj/8oiaZqPq4wpuNpS3THU EtyYjWisR7ZuU9uGDlpB18mqOtAaeDWdLk1MaYhk/bkRaCV+W+N0Nu7bV3z4QhEJqGqL VoUQ== 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=8rlrTRgbbsC31PSlRdH3PxNbgd4duL5FJDlbRlUVup8=; b=Y+G5HTdUnV8No3dtxbHIxnS6ZXnI5QiweT+28D3oAR9LGDevJ6gesUVeOkO1t/b07n pZTiLKSgocH1PTWZPr6qlCIR9YEQ63d3rOp6f0xAKGmjzXT505h/ypu+14/MEXGnhxnb vgFBHH5kvmSAZKn7XfHMk5wLmZ90Z4fnQIGQ75q8X0JHnyyjTYAR712rI+FoEhEfZMv7 BSCrpcf9t0veYPrRqyWDBDoMpirGBn1EF/4Nqpx6pUQmGZ7QNc+m4FVANYwz6VidXuFS chywjoxoQNJPtO9G2nXt2xQeizUWwBV4C+4ynOVaq4heJRyxGB6J2UZwmCZF/Z8GZ81K cvLg== 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 b11-20020a1709064d4b00b006a7342dba45si139943ejv.192.2022.03.15.15.06.04; Tue, 15 Mar 2022 15:06:50 -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 S1348833AbiCONxv (ORCPT + 99 others); Tue, 15 Mar 2022 09:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233880AbiCONxt (ORCPT ); Tue, 15 Mar 2022 09:53:49 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0120653706 for ; Tue, 15 Mar 2022 06:52:36 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:1dc0:e57f:6975:ecb9]) by andre.telenet-ops.be with bizsmtp id 6dsZ2700S3jtd4z01dsZVM; Tue, 15 Mar 2022 14:52:34 +0100 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 1nU7bF-004ZU2-Dv; Tue, 15 Mar 2022 14:52:33 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nU7bF-002jOr-2N; Tue, 15 Mar 2022 14:52:33 +0100 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby , Hammer Hsieh Cc: linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] serial: SERIAL_SUNPLUS should depend on ARCH_SUNPLUS Date: Tue, 15 Mar 2022 14:52:32 +0100 Message-Id: <59f46272ab5b16853acac4d585c3333cfd394223.1647352195.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=ham 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 Sunplus serial ports are only present on Sunplus SoCs. Hence add a dependency on ARCH_SUNPLUS, to prevent asking the user about this driver when configuring a kernel without Sunplus SoC support. Fixes: 9e8d5470325f25be ("serial: sunplus-uart: Add Sunplus SoC UART Driver") Signed-off-by: Geert Uytterhoeven --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index e952ec5c7a7c00a3..5551192560bb49d3 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1566,7 +1566,7 @@ config SERIAL_LITEUART_CONSOLE config SERIAL_SUNPLUS tristate "Sunplus UART support" - depends on OF || COMPILE_TEST + depends on ARCH_SUNPLUS || COMPILE_TEST select SERIAL_CORE help Select this option if you would like to use Sunplus serial port on -- 2.25.1