From patchwork Fri Dec 13 12:55:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 181553 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp597918ile; Fri, 13 Dec 2019 04:56:56 -0800 (PST) X-Google-Smtp-Source: APXvYqw9hscwTHHKh1PpY+ok28I8xoPs1DUjnYqy5ibYpNaXvLxBWd9c4+o6Mq0E1iwAqdAdyJV6 X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr14164997otp.108.1576241816406; Fri, 13 Dec 2019 04:56:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576241816; cv=none; d=google.com; s=arc-20160816; b=oO1aXfo1Ny7LME/JD9xCP4RmSySY9FypK1AXYSgxVnAev6W4rvpnHa2q55Yhm6XeFR CtlybI6FQAG8N+jzcgcl8hQ7bbBGCkzvqk5oE6JSht/AXfntWZHhulkjz8Bn//milt1l 4Bu/Ai712X6rVAmSEuvzrn3uG1Vxn/jLTdKierLPrNSpGy+1hUhs5SiHw8jzlQlv0+2R wunKw66DYwkAdQY+wk9tzq65CUeMpanTn3ofRMns4Z2z3oauVxxomW5Fk+XcU6PwHlf2 vv05vGkgK+A/qDBw9KkhTRVCHW+WcLCg9uNfKdxGxkPe9Z7LJ1ZgpzRleRuGCtDSVQyh 9FGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=N8L22jtFlFM+1lmOBiRwEbibBb0hxH7QgTw5pjPN5G8=; b=KxD1YxliSbw1QsPWXGuo8CXRir+QNmLX29o15SJ+kEJZUxAI+4OKAyX9HOAzFJEaZf DFr3+0wAApBVc8S3qWzmu1gNggoIoUNr+NaUFHcd35PrplgsO6kgaYbzAmQBHH/sCSFv hjiRrsa3XJjx8WlF0mNGFPANXHzQWvnrMLFzVCcoWw0p00+4zmrPXO7XE3NL8oRtDuM1 2BFAVsljyVTQDtVf1lJ0fWsu4Upnt1+oRYyaMtI/T2DMOfQbUuTkdRBG8YCEDd6dkMTH nGui+C+bq06LMt9yGpZh9mZkTyZWkqO1v2MzDdnN5L7rdnHP3D37JSLlb6CnE6bHvCWu v6VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gAACTBlb; 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 x7si5086889oto.264.2019.12.13.04.56.56; Fri, 13 Dec 2019 04:56:56 -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=gAACTBlb; 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 S1727587AbfLMM4y (ORCPT + 27 others); Fri, 13 Dec 2019 07:56:54 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:41718 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727313AbfLMM4V (ORCPT ); Fri, 13 Dec 2019 07:56:21 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBDCuK95018520; Fri, 13 Dec 2019 06:56:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576241780; bh=N8L22jtFlFM+1lmOBiRwEbibBb0hxH7QgTw5pjPN5G8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gAACTBlbC5N9t7fwUYP+0SykY5XWvASrqlQxk0YBP7jCAea2wBSqRlDyrw3xBpHQk n3vO83DkDAucu8OkwYpVN67a1cXGoGxRJqAH+Qpm0HFASLeYiR35J+ffGyd6u3NoZW CbvKo4t/H7T1/+EgtrgXgn4adVCnxJF2A3HP7/Og= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBDCuK2t085344 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 Dec 2019 06:56:20 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 13 Dec 2019 06:56:19 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE104.ent.ti.com (10.64.6.25) 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, 13 Dec 2019 06:56:19 -0600 Received: from sokoban.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBDCtwVO127295; Fri, 13 Dec 2019 06:56:18 -0600 From: Tero Kristo To: , , CC: , , , Suman Anna , Tero Kristo Subject: [PATCHv3 09/15] remoteproc/omap: Remove the omap_rproc_reserve_cma declaration Date: Fri, 13 Dec 2019 14:55:31 +0200 Message-ID: <20191213125537.11509-10-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191213125537.11509-1-t-kristo@ti.com> References: <20191213125537.11509-1-t-kristo@ti.com> MIME-Version: 1.0 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 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 --- include/linux/platform_data/remoteproc-omap.h | 12 ------------ 1 file changed, 12 deletions(-) -- 2.17.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki 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 */