Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6791374ybf; Fri, 6 Mar 2020 04:42:20 -0800 (PST) X-Google-Smtp-Source: ADFU+vvUboeU5gBxlfOl3RpXgGB3LHJcik8X2wJA+sSarwTnywysjdMVPAasMilgpQ2bbl6fO9mt X-Received: by 2002:a9d:6c94:: with SMTP id c20mr2372003otr.285.1583498539680; Fri, 06 Mar 2020 04:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583498539; cv=none; d=google.com; s=arc-20160816; b=Jn9gGY/b9PZ8ULh95c55fIPxRsw+XGu9U9XsD2YcWHJpwbTYEJNHMgjySFOVK9ujn2 ocTpOv66u5ZGtxNLBdImhLBpLYGetdW2TqCKEMtZ7XDgWepaNQxq5rj7lv+U6Y4oFFHJ Kup1CDc23aIvtkOvTYg7HtHjov0/7enu4ykg8CcmxmgNUfUTqmG33QpxRkmFvqOs8mPd 6idYG6RrTG5xbFJ/IrXsO0n2tgl9G8c/vAz4/EQGQp/cnMcCkplwcYRet3xxwLCGR/y4 XbBeLoTxuqOpzCt4Cn025cynacBeFSI2bEUSMES7zN+qqtZepu44spLRVmaXbTLk+puG 0Xrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=C7/8UfpcQCiN90TR5rRqxibvlhXF5Mt2BA1c7KeP18M=; b=0dsqt3UroLEaOCBFjKy1hfgNm+DjKhrOjZdzZdpT13TD1VOzuqrVCuN6X6XKKRwh2g AKFESdkBex+vDrw8jmw8mNawGdAzV6sPCzTgv8O11FWj4WqR2KMB+YKReo4o8XzYGXJS diBKyTn3mrCu2wei5UEk8qsVB/3qTiX92dS3+SYKw7jmkLxX8gFsqiJGaQkxOKi+b1wM 0UtIA7NXfAUHr/pT3x7m7oApY5jungBW97OTioCPoqgrZOyt7W3C3CtyoD7r1b9xYoco YHwelmYK/E1dCSbEAj6DBoy36uzEoiPo1MuIw+B7A0fdo6Vf2o6LdfKN2QhX5mKFed/z cxAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l25si1293393otq.76.2020.03.06.04.42.08; Fri, 06 Mar 2020 04:42:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgCFMl0 (ORCPT + 99 others); Fri, 6 Mar 2020 07:41:26 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46451 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbgCFMlZ (ORCPT ); Fri, 6 Mar 2020 07:41:25 -0500 Received: by mail-oi1-f193.google.com with SMTP id a22so2333545oid.13; Fri, 06 Mar 2020 04:41:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C7/8UfpcQCiN90TR5rRqxibvlhXF5Mt2BA1c7KeP18M=; b=Jvy1Af74iMiqRleNjcT1vAEE4fmVK1Wz6t+x70h4GgyrFDTD1wBWKlPRNp2/Dr24Ys DcVxlQpwZTqlIDXiwZAVjaEKXODo9Z31ZlcjYt5Rp9t377lqPxD4YBVTfSlUkXhfl+mB kFGQ9mparWndpuOfehbj3FOKFkv8OxXayh55mcf7VcH/4Qn3FtLY5223/frbq4M2N+WZ hwmLal7mVPdvh+kDoUXzeo1ip0Ur4/WYugltyY4tGsEzZsZ+5FCrD0NoBMTqN26TjfX2 9Vc7pw+oPNr+MkgQ5cuj9LDFcyPGegZTql0vQjEWwZZKgyOkjMoOH/t0fzeXytnt7UA+ rQmQ== X-Gm-Message-State: ANhLgQ06y5ozGBWv6vr6UJcAyVYzw+fiLI72IZ6YhdOBARfc/RfR0/T2 wTqoEYbJTgVCy/Q4MMXq7qTmr8t2DtJWpF+kkWw= X-Received: by 2002:aca:ac4c:: with SMTP id v73mr2492413oie.102.1583498483747; Fri, 06 Mar 2020 04:41:23 -0800 (PST) MIME-Version: 1.0 References: <20200305103228.9686-1-zhang.lyra@gmail.com> <20200305103228.9686-2-zhang.lyra@gmail.com> In-Reply-To: <20200305103228.9686-2-zhang.lyra@gmail.com> From: Geert Uytterhoeven Date: Fri, 6 Mar 2020 13:41:11 +0100 Message-ID: Subject: Re: [PATCH 2/2] tty: serial: make SERIAL_SPRD not depend on ARCH_SPRD To: Chunyan Zhang Cc: Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Linux Kernel Mailing List , Chunyan Zhang , "open list:SERIAL DRIVERS" , Baolin Wang , Orson Zhai , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chunyan, On Thu, Mar 5, 2020 at 11:33 AM Chunyan Zhang wrote: > From: Chunyan Zhang > > Remove the dependency with ARCH_SPRD from sprd serial/console Kconfig-s, > since we want them can be built-in when ARCH_SPRD is set as 'm'. Why would you want a serial driver for a specific platform to be builtin, while all other platform support is modular? > Signed-off-by: Chunyan Zhang > --- > drivers/tty/serial/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig > index 52eaac21ff9f..2b9addc0afb5 100644 > --- a/drivers/tty/serial/Kconfig > +++ b/drivers/tty/serial/Kconfig > @@ -1452,7 +1452,6 @@ config SERIAL_MEN_Z135 > > config SERIAL_SPRD > tristate "Support for Spreadtrum serial" > - depends on ARCH_SPRD > select SERIAL_CORE > help > This enables the driver for the Spreadtrum's serial. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds