Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2683875ybl; Thu, 19 Dec 2019 18:48:50 -0800 (PST) X-Google-Smtp-Source: APXvYqw0cuk5Lnr7ILP02/uGaewWwIiXxqe33r7G3lPTI6fjbSLslDsIe1rduColD9IodIdtRIx+ X-Received: by 2002:a9d:76c5:: with SMTP id p5mr12882775otl.61.1576810130573; Thu, 19 Dec 2019 18:48:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576810130; cv=none; d=google.com; s=arc-20160816; b=ZGawxnnrSusYEAqpvsZsKEZzsQQJQsaB6Xe9WZ7Pog62Pw1bpH6xkOK/em27FJHg8m l2YTxN6qtnSqJ9TAYB0Gp8Pv7CzoTJFwTeAzNrkA45nVVKnAl6dx0nRnHAaaOVpW6oL+ 982QcMvloTh3/JJLnCPCi7HaB0qLkpbDujzHI6RvHdL6sg21T704Xo5bFDIfxojD2Pd2 GTY0GWlLGUFObY/8E56NJG8HuM6d/LvS30wyGDDOx3iv4GEHcWrZ6V6SgsaAYrCl+1nN 3bfNnIjIAGkj/grAxH5RAZTbXTy7EnW/B8QwKDDWSOMsTWode6S1gqV+QOiVzNB3FqbM oL0w== 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=HXApxIRNsh32DrkR8Mxs4Ae0SPX+t5QFqt8IIpf+fAM=; b=MAeI6Yw9ZOMrrMU9Nr516vFAq/CNznx8DVh6ohWcsMaObQRg4VepqIFRV1lRfuw8jt UMlAwbgBizQKr+CZBi8rk4qFyazvt1ZE8FgrLlb9b2GyBCEeI0KIzJbdZ4OcWITurBM7 iz3+y4lkqV/kndo6ggoGYb3IGv254e3kNkebF7xysFyosAQeoD2ryy6CAhy0cVOsVxM0 VbgHwYgCnNpb3dSM7+nPXrYBlDN5ozuvEmfFueQjNtE+csrRC7DhcAEXsQ8uKU9Cibys JxTE1oD/H52Rx3TnWyfsvgUo4cuvsckYPVToP5VrMRSgbtV1D+1szIsxCzHNx4AOj8MK t7Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Q6scEtJH; 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 r1si3002860otk.251.2019.12.19.18.48.38; Thu, 19 Dec 2019 18:48:50 -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=Q6scEtJH; 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 S1727125AbfLTCrl (ORCPT + 99 others); Thu, 19 Dec 2019 21:47:41 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:49600 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbfLTCrl (ORCPT ); Thu, 19 Dec 2019 21:47: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 xBK2leWt010171; Thu, 19 Dec 2019 20:47:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576810060; bh=HXApxIRNsh32DrkR8Mxs4Ae0SPX+t5QFqt8IIpf+fAM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Q6scEtJH71fKjgdpgRf6JqEl6c0X2ynYJb+QesXnmnEKxkbZUh6Bf4X78Kl8DNOVU B2rwfcAP4UicxMIiXy1EJt/t5F12cu7Ay1+p2L70vvhPeu6OApA6OaA8haT+4NV26C 1yYflY0R8Hm2128smvKR61fqz7pV/b1A/uA/29/M= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBK2leCh056071 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 19 Dec 2019 20:47:40 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 19 Dec 2019 20:47:37 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 19 Dec 2019 20:47:37 -0600 Received: from [128.247.58.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBK2lbun124782; Thu, 19 Dec 2019 20:47:37 -0600 Subject: Re: [PATCHv3 09/15] remoteproc/omap: Remove the omap_rproc_reserve_cma declaration To: Tero Kristo , , , CC: , , References: <20191213125537.11509-1-t-kristo@ti.com> <20191213125537.11509-10-t-kristo@ti.com> From: Suman Anna Message-ID: <75420692-ecbc-f7cd-f7bc-9df0849d91dc@ti.com> Date: Thu, 19 Dec 2019 20:47:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20191213125537.11509-10-t-kristo@ti.com> Content-Type: text/plain; charset="utf-8" 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 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. 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 */ >