From patchwork Tue Nov 19 14:16:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 179759 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp698393ilf; Tue, 19 Nov 2019 06:18:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwnRivpAq34GqaVcphIk7QTFasqnUXBFakUCg71e5pRSVjV534U3pKFVVqixHKOmCsoidH8 X-Received: by 2002:a7b:c10e:: with SMTP id w14mr6246773wmi.40.1574173089212; Tue, 19 Nov 2019 06:18:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574173089; cv=none; d=google.com; s=arc-20160816; b=IdVlf2khY+fT/2d9DITd3XwM9Z9jok/bl7YfVMHIsic+yNPh7Uv37YOthPKipHEv1I 6HzLklEyPl5iAKiUSjrpLfjnx/xy8j+IkoNMm7nHmVq5LDVjHrccRynChacHz5CV3Dr5 inuQmaTiPUtIQGE0+W8Pt3jj8gebBaDU4NS+8OJIPMSQ+TrIl96lUvAh69sS8vD1thYR mLcLp0eSpxhTWJUHxJc28E9F6xFlXHdUMLKxiAFUeq+QFaCdJxAJkPrsVuuwnRZdNrA9 4RIdmESDZscyCogPCqw1hVXP+UZBTy2GIND2oTO4gD+1SuGMek0jwWxIAs98WNPiyI3e i6kw== 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=kDCEj3TqJiA+4Qf1hHEyKEVm3mYV29Vz841f/mUPN8TfDmPM9DZC/98r6MlP/77t+H 4DSyZ1e2PcHz/tsC9c/fp17ROAUcjenw9i476cxuwt22dBEz2M6lz9NOv8CXCLEMvcHM x9ZEHH6r0KPV2dl2kgRiYFh86XOZmr6uOJWTl6wXbhoGjfg6Pdaj9xQPaVL0zXhUjcr9 YfXlrlt9ZA8jNCgqMmT7IxFyaUtvodrztSHsIYG2Qp5WOme3BU0gwQgBhcaq/b7sG+RR UxHUrr5dfhKyZjlxdvRqI5WwsO52eDjOF/UxwBbqxyjcgl8bDZ5rwHZvhG6M4dUhYT9p 28eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=P3AMXFHF; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 s38si14876719edd.351.2019.11.19.06.18.08; Tue, 19 Nov 2019 06:18:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=P3AMXFHF; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1728122AbfKSOSH (ORCPT + 5 others); Tue, 19 Nov 2019 09:18:07 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:39804 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728157AbfKSORT (ORCPT ); Tue, 19 Nov 2019 09:17:19 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAJEHIVI077203; Tue, 19 Nov 2019 08:17:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1574173038; bh=N8L22jtFlFM+1lmOBiRwEbibBb0hxH7QgTw5pjPN5G8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=P3AMXFHFFYnir0L7P/DNWptI3S1+ppg/gKipimsIuCYFAZD+HPxOYlHKOgEGNatdp h/eTsbMBPWgaM3dJyN80Tqq+u+pXsR95tTUVMEbnBELFl8f7+7Gj/xQQKyLhnjHEgu CmaXVL3g4ZvsU2lw3t06wQ+G2KvEmA0qiVgyMoc0= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAJEHIvX054002 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Nov 2019 08:17:18 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 19 Nov 2019 08:17:18 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE115.ent.ti.com (10.64.6.36) 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; Tue, 19 Nov 2019 08:17:18 -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 xAJEGvZ2027070; Tue, 19 Nov 2019 08:17:16 -0600 From: Tero Kristo To: , , CC: , , , Tero Kristo Subject: [PATCHv2 09/15] remoteproc/omap: Remove the omap_rproc_reserve_cma declaration Date: Tue, 19 Nov 2019 16:16:39 +0200 Message-ID: <20191119141645.19777-10-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191119141645.19777-1-t-kristo@ti.com> References: <20191119141645.19777-1-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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 */