Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp397119pxu; Tue, 1 Dec 2020 14:11:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLiiaY5pBu/v60GuPHZKHjBFOYo8GdBE58CBMWb6HIx50Jl+j6kBLWnjLLg5F5JIPBXhqR X-Received: by 2002:a17:906:1408:: with SMTP id p8mr5231847ejc.213.1606860716323; Tue, 01 Dec 2020 14:11:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606860716; cv=none; d=google.com; s=arc-20160816; b=XLGbwYfb3Bix7Tme85NX9FNV7m2I1coPLfvs6U/ns0a6V3QhQXE7p/najfAZV3r4Dr qbUugik4UU2TgP5IaJcDI/nxKBCSkSHReyvXZOh5yezA9u0CNnW+wRxROOEyNtGHgM+V W8VU11ArcrHBYJQBKc0irSqnDLucIPOMYTO1wAiNxPnnG1xJfgmjJhWTohUtk7+Bxo3v phJpDFjbHjaQqh6vMQC6JPnxb1extgPU6eTz88NHIF8BtowVdMzjh3KwrqeIvzo0Pjxz lJiYDdrXS/vuiJpBSkyaZg0UK0FtC/MaIAXMdyDwaE3GEutvybNBnGJBNjC8c/+0rMt5 JVvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:ironport-sdr:ironport-sdr; bh=YSBU1PA6lzySRBqr06kLBti3ltsKhRxRZLnjAeNnSpg=; b=HkMwfWbPeQTYworUlQa4UtDXDrZcLs5sVmdtYI04fCwWvk2sR37kt2zqTE19H6poy0 0CX5unOeQxrLgOTWN2MnVZZeh/jbJ4zIJd0HPFshxRRnYiXXuRM8WJ6cVrrFr5CSzROE 6KyDIYCQxU8B/VlOjlaRs8F2wpK1ynaZCvsyhu90z/mLXpYV4EydxFtmYYS3IQg81PCP vyu+GJaC2xJzPWPpS4nM0sMuhS6IprmCy8ZUkMwTnsWmLEsWdC6cWO6qNJpSoVEU5Lxm JRLbR/MErf2kwb2PXeItcp3m2XSyx1AN8auQmyxD1C/hPoIvD+IgRbJGK3JS4NgNqEUF RekQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si797150eje.644.2020.12.01.14.11.33; Tue, 01 Dec 2020 14:11:56 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727666AbgLAHLa (ORCPT + 99 others); Tue, 1 Dec 2020 02:11:30 -0500 Received: from mga03.intel.com ([134.134.136.65]:53468 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgLAHL3 (ORCPT ); Tue, 1 Dec 2020 02:11:29 -0500 IronPort-SDR: rO9fOdvou2bGbH8N7ZQttr2HheNGPFRFQW8zOeHxJlfwjc2bh5uxMwGujkTIpriu9Z14TtJElT dP1Zsdwytv7A== X-IronPort-AV: E=McAfee;i="6000,8403,9821"; a="172879120" X-IronPort-AV: E=Sophos;i="5.78,383,1599548400"; d="scan'208";a="172879120" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2020 23:09:48 -0800 IronPort-SDR: Vn09THofrQN9w7Vq4pwPzYjq94ZZPXk+iWJnCoCMvfl5OF6xgGcr0MUZKXmJ5UlVBupzz5Vitj 9wqIElHxjxJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,383,1599548400"; d="scan'208";a="480979673" Received: from ipu5-build.bj.intel.com (HELO [10.238.232.196]) ([10.238.232.196]) by orsmga004.jf.intel.com with ESMTP; 30 Nov 2020 23:09:40 -0800 Subject: Re: [PATCH 10/18] ipu3-cio2: Rename ipu3-cio2.c to allow module to be built from multiple source files retaining ipu3-cio2 name From: Bingbu Cao To: Daniel Scally , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, devel@acpica.org Cc: rjw@rjwysocki.net, lenb@kernel.org, gregkh@linuxfoundation.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, wsa@kernel.org, yong.zhi@intel.com, sakari.ailus@linux.intel.com, bingbu.cao@intel.com, tian.shu.qiu@intel.com, mchehab@kernel.org, robert.moore@intel.com, erik.kaneda@intel.com, pmladek@suse.com, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, linux@rasmusvillemoes.dk, kieran.bingham+renesas@ideasonboard.com, jacopo+renesas@jmondi.org, laurent.pinchart+renesas@ideasonboard.com, jorhand@linux.microsoft.com, kitakar@gmail.com, heikki.krogerus@linux.intel.com, Laurent Pinchart References: <20201130133129.1024662-1-djrscally@gmail.com> <20201130133129.1024662-11-djrscally@gmail.com> <832ce84b-0dba-826b-51c8-90162c2f7ab8@linux.intel.com> Message-ID: <7861a56c-8cae-6b23-9ed6-55a11e993edc@linux.intel.com> Date: Tue, 1 Dec 2020 15:07:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <832ce84b-0dba-826b-51c8-90162c2f7ab8@linux.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/1/20 2:56 PM, Bingbu Cao wrote: > I see there will be multiple files, but there will be no conflict if keep as the main > file name unchanged, right? If so, I prefer keep as it was. Oops, I notice you try to build all the files into single module, so please ignore my comment above. > > On 11/30/20 9:31 PM, Daniel Scally wrote: >> ipu3-cio2 driver needs extending with multiple files; rename the main >> source file and specify the renamed file in Makefile to accommodate that. >> >> Suggested-by: Andy Shevchenko >> Reviewed-by: Andy Shevchenko >> Reviewed-by: Laurent Pinchart >> Signed-off-by: Daniel Scally >> --- >> Changes since RFC v3: >> >> - None >> >> drivers/media/pci/intel/ipu3/Makefile | 2 ++ >> drivers/media/pci/intel/ipu3/{ipu3-cio2.c => ipu3-cio2-main.c} | 0 >> 2 files changed, 2 insertions(+) >> rename drivers/media/pci/intel/ipu3/{ipu3-cio2.c => ipu3-cio2-main.c} (100%) >> >> diff --git a/drivers/media/pci/intel/ipu3/Makefile b/drivers/media/pci/intel/ipu3/Makefile >> index 98ddd5beafe0..429d516452e4 100644 >> --- a/drivers/media/pci/intel/ipu3/Makefile >> +++ b/drivers/media/pci/intel/ipu3/Makefile >> @@ -1,2 +1,4 @@ >> # SPDX-License-Identifier: GPL-2.0-only >> obj-$(CONFIG_VIDEO_IPU3_CIO2) += ipu3-cio2.o >> + >> +ipu3-cio2-y += ipu3-cio2-main.o >> diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.c b/drivers/media/pci/intel/ipu3/ipu3-cio2-main.c >> similarity index 100% >> rename from drivers/media/pci/intel/ipu3/ipu3-cio2.c >> rename to drivers/media/pci/intel/ipu3/ipu3-cio2-main.c >> > -- Best regards, Bingbu Cao