Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1977049ybh; Sun, 8 Mar 2020 18:31:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtvsJ2+AWtOWB7ner6UCutWKv2d00njhjQKdKrNYNEPKdrS7ro8MK2i1mHB/2D9Vm2TSrgD X-Received: by 2002:a9d:68ce:: with SMTP id i14mr11803515oto.233.1583717491040; Sun, 08 Mar 2020 18:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583717491; cv=none; d=google.com; s=arc-20160816; b=vNiUZpDouW4o4i8Muwvkth33j0tObgs1PT55PMfPXVZCbLd+nxBucWt6hiFeF6X3q3 mIn2zWJ7X2lqqjjPow1RCXpybz3nriaIKBkke9hBqBA/zTOPTJK+I+GS7z8mBfaQOR9N eVeaaJkKIY4UU8X7uBMH3wnWIM8IFOsWqWOntxNMwObryd2ksZcCOOdLaBJTJ5OkQv+P 9UrwoJoI/RNrqb9BsIZzYqXj+5kNrcaWAvSwsUDDA5aJ3vpBzt0VJdrprSX8S/1rgBC3 Oip1NAAdd6oWjsosFfIauNzbC4vFi9pOKdP3hzXkiL3KoV4nBQiT7peAMh1SctpbZ0c0 DE6Q== 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:dkim-signature; bh=K0FbYoD5QyM3mQ46mDO2FdxxLRF6uzspSD/4xNSFbC8=; b=QQabHxi2I1FUnNg4QrEkeS2w3pac4Y/UfXHphVTn0NvF1ZqYVT9YysduA0FHpJ+Xbr UrczzWTZyB1I31elJn5kLDMtbpZpk7MmVG0qmdRwhR8HyFrSP1vItMLhWbVtaNjPi2SN KXUg30l2mnecGz9ZUfuJ+GAZlaGmO2YiGrKQu/ZyA9mLfU6ndfkcJLRCHBBovS7J8oxe +qHC2XEKllETw9ga1LTTkC5NgaDZy8oo3INaXgLJKqQVx/agRq8W1b0JNzDYMA6xoVLD Qv8tKiy7VHanV4DvsHLjXWVjqffu7x/wlHlirI+8W5haFXqUSUMb4fNLXhmpDIgT5eB7 dp5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CyYwlzj4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si5496111otp.148.2020.03.08.18.31.19; Sun, 08 Mar 2020 18:31:31 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CyYwlzj4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726784AbgCIBSU (ORCPT + 99 others); Sun, 8 Mar 2020 21:18:20 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55867 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbgCIBSU (ORCPT ); Sun, 8 Mar 2020 21:18:20 -0400 Received: by mail-wm1-f67.google.com with SMTP id 6so8126869wmi.5; Sun, 08 Mar 2020 18:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K0FbYoD5QyM3mQ46mDO2FdxxLRF6uzspSD/4xNSFbC8=; b=CyYwlzj49u8GrKRQL9BsLmZV7lQiGiWaWLAe5hyiFYdg7KXdy+EXm57nMYAI39jhDB 3GMCtRWEnSrb98gjefecnVi9y53deQw29YBwwlY//Zj/1yo73Ig5lDEMcjJ59gpR+7q6 YyGBokBL74/WPAfguEMpXq9K4m0bufJLCzHab5G9QOa2MQ+M6ck4QapHMzjH/FKFMP+R e1/T6bxw9ueONiNXHzba3GjdBKuvjMd40BswVaDHj81+7T545jxIzkjVLA8mnL0ZJQSL 6ky7SM6OVaTa0raVtngW3nrY4VGfy6Xu9RLNh9dofVrJyfX7acXtV9UTQk+5sPYN9Kjz cKXQ== 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=K0FbYoD5QyM3mQ46mDO2FdxxLRF6uzspSD/4xNSFbC8=; b=b92QNbyy98Nksu7p5Hk5+mqEMQOMLW10r5cDWWNOp6iMEYj/sx06Zr51DzuYzLpk3w 7EVNebD+dhsQPZLqRVAVMTqTCF5zv5zXoTqakPz71I7ieWa8e6M0q1/zo1Q2dGVFmWsW EwTE/XMpJqmaXw0oWq++RQ5dnCp8tpmi7WPbxNTjKyIpiNcNu6Er43oLLATDXHn4tCmK OdT5MPS5rE7him0qJL7lWok0XeO/DxCEslhgEMBW+d2Z5eUNb+O5XWrUOex0WWOOjw5f dNnV4lCgrdjHeGI8D7EQFl87lYA1w+VrroE+U//rWnU051CsO5CEdXWcFVTL4jT8AKwm t1pw== X-Gm-Message-State: ANhLgQ1XG+H5BcsqUWV6TOXfWCo2pJch2Mrcd+RWCX5pQOh5rDCtlMO/ qYyvrqAP+6XSbhwsO7UF3qIndwuuPg3bdTkVFGE= X-Received: by 2002:a7b:c446:: with SMTP id l6mr16475019wmi.3.1583716696466; Sun, 08 Mar 2020 18:18:16 -0700 (PDT) MIME-Version: 1.0 References: <20200305103228.9686-1-zhang.lyra@gmail.com> <20200305103228.9686-2-zhang.lyra@gmail.com> In-Reply-To: From: Chunyan Zhang Date: Mon, 9 Mar 2020 09:17:40 +0800 Message-ID: Subject: Re: [PATCH 2/2] tty: serial: make SERIAL_SPRD not depend on ARCH_SPRD To: Geert Uytterhoeven 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 Geert, On Fri, 6 Mar 2020 at 20:41, Geert Uytterhoeven wrote: > > 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? Oh, that's not this patch means. We just want serial driver can be builtin for any platform, so it should not depend on a config which can be set as 'm' (i.e. ARCH_SPRD) , otherwise if the config was set as 'm', the serial driver can't be selected as 'y' then. That's what I mean. Cheers, Chunyan > > > 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