Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2981779ybl; Fri, 20 Dec 2019 01:50:32 -0800 (PST) X-Google-Smtp-Source: APXvYqykbRa/kcuLYIyWwGLAmiwodQJt9pxSzvuSN0EKmgnz5LkebHMvhNGT5AOSe+XA96auy7bM X-Received: by 2002:a05:6830:2057:: with SMTP id f23mr9946665otp.110.1576835431926; Fri, 20 Dec 2019 01:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576835431; cv=none; d=google.com; s=arc-20160816; b=u2Ed9TljVXIAsiompOgPryeUm+o+MrBH2ggJbQr0rLTa2ikJHYizovG0Ut8mJHP9LB Zz9TQa1dzLY55fQ6YiRR98s/3y8oPWILYtvwxLaHxjQKt+IUp7EHsM/H1vRugdeDtCar gMH72ithVIpPHjUFxPtoTV9r0c92PMLLerkWSO/e2C0C6bpZGHpKUZp1aNff0GXt8kb8 ZanrnA0y4jGBdt3Boeo64x5NV03e2a5J7DpAX4U/So3grQTRpP07g2VZNWuevwWzq6dK YBMJyvbWEm74yyY7mwJuZTOEGvGBeHEnw2pj7NmsYocfkituFlApwxZGcxwCIe6TYc3B j6ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=QQcV+9YkaofN+92Zx46IG5q0lPQPGT6TS9og2QtYkvI=; b=jxcJGjlp4iyPkU4cGoaUDZS0G3HM0CKMySm13i2dxEy0cruJeEirtznnNEJ6iviwiH MdlnMlHVMD3ekjOut1PzmDFtiSSFDpZg+65EyPO03djDih3Nex6GiHSKZVvAVjpML5pJ tgl6hfRYCNeeGb9mpLZveUhaittNuTfZRkWpmYY4KaUPcWtuI8EZHJeLOWge7r9s2IwZ oo4ge/xyVExfOb9m8fNUldfrUSxDeBHOlqcdLMQBrEV6Fkk5VmPfSm7MMhUfl3AbXGd+ /TT8zOO5WBP7dEbC6YvGSWhSUfacHn0J70w/RHafL8dSkLFdJkNRP1d3fgaBertdVXT9 Al2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sSjUPVxx; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20si4728321otf.271.2019.12.20.01.50.19; Fri, 20 Dec 2019 01:50:31 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sSjUPVxx; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727252AbfLTJtl (ORCPT + 99 others); Fri, 20 Dec 2019 04:49:41 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44526 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbfLTJtl (ORCPT ); Fri, 20 Dec 2019 04:49:41 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBK9nd6R042676; Fri, 20 Dec 2019 03:49:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576835379; bh=QQcV+9YkaofN+92Zx46IG5q0lPQPGT6TS9og2QtYkvI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=sSjUPVxxfOs/58dhff06y73O2VPjE4HZ29LFreqfiBLGfZHje8fytaiuCGq8Nzvl2 trzbJI3AOVdyx9tVjFCclLnDoIR/rovNY+CXulVO8Nf4nO0UvQbj6wdCLqzE9gfUuJ /xnjYxE5TK68CAM4UBTymu59bIc65KXMVnYTMhmo= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBK9ndlm063409 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Dec 2019 03:49:39 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 20 Dec 2019 03:49:38 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 20 Dec 2019 03:49:38 -0600 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBK9nab3091264; Fri, 20 Dec 2019 03:49:36 -0600 Subject: Re: [PATCHv3 09/15] remoteproc/omap: Remove the omap_rproc_reserve_cma declaration To: Suman Anna , , , CC: , , References: <20191213125537.11509-1-t-kristo@ti.com> <20191213125537.11509-10-t-kristo@ti.com> <75420692-ecbc-f7cd-f7bc-9df0849d91dc@ti.com> From: Tero Kristo Message-ID: Date: Fri, 20 Dec 2019 11:49:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <75420692-ecbc-f7cd-f7bc-9df0849d91dc@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/12/2019 04:47, Suman Anna wrote: > Hi Tero, > > On 12/13/19 6:55 AM, Tero Kristo wrote: >> From: Suman Anna >> >> The omap_rproc_reserve_cma() function is not defined at the moment. >> This prototype was to be used to define a function to declare a >> remoteproc device-specific CMA pool. >> >> The remoteproc devices will be defined through DT going forward. A >> device specific CMA pool will be defined under the reserved-memory >> node, and will be associated with the appropriate remoteproc device >> node. This function prototype will no longer be needed and has >> therefore been cleaned up. >> >> Signed-off-by: Suman Anna >> Signed-off-by: Tero Kristo >> Reviewed-by: Bjorn Andersson > > With the structure removed, you can actually drop the file altogether. Yeah, let me check that out. -Tero > > regards > Suman > >> --- >> include/linux/platform_data/remoteproc-omap.h | 12 ------------ >> 1 file changed, 12 deletions(-) >> >> diff --git a/include/linux/platform_data/remoteproc-omap.h b/include/linux/platform_data/remoteproc-omap.h >> index 6bea01e199fe..49c78805916f 100644 >> --- a/include/linux/platform_data/remoteproc-omap.h >> +++ b/include/linux/platform_data/remoteproc-omap.h >> @@ -21,16 +21,4 @@ struct omap_rproc_pdata { >> int (*device_shutdown)(struct platform_device *pdev); >> }; >> >> -#if defined(CONFIG_OMAP_REMOTEPROC) || defined(CONFIG_OMAP_REMOTEPROC_MODULE) >> - >> -void __init omap_rproc_reserve_cma(void); >> - >> -#else >> - >> -static inline void __init omap_rproc_reserve_cma(void) >> -{ >> -} >> - >> -#endif >> - >> #endif /* _PLAT_REMOTEPROC_H */ >> > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki