From patchwork Mon Dec 23 11:04:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 182388 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp277290ili; Mon, 23 Dec 2019 03:06:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxkVnuS0b8dqDLvghDKUkmSMLK4ReABj2EFIrrfFi4cKE+lKU8C/37JWV/ABeu2q5YvbAJd X-Received: by 2002:a9d:f26:: with SMTP id 35mr33471091ott.260.1577099167829; Mon, 23 Dec 2019 03:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577099167; cv=none; d=google.com; s=arc-20160816; b=pZbJDEfpomTA4s84CzPoCnEesyNCwz4GX9nSzwMtj1v730Vtcgrb1lEb7WAoTIROjc 3D9F5hmOatAraFeVzTbkuex4j5uAJJQSB767x2YD/sb59Fq1pCm6cde0E47x2Uib/SUq 36UbbuybeLHFbenMiwvoN6ei2JmpJy98KbOq/slbV3/lqM1176Trm4C0GDaJkgzdMUzz yePvbN8awomyfy+abR4x6h7PChzbWLOWgV2XNtJ9Lq7Rvg0V+t+TeIR15AVo634UKinK RAoZuDRaQj58S0FbwupPDuLJSv+UKBTfHbNSPyoW2L/HewkJCGFgRyKX0ndIP6ydqVcl /0rA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zhvQmTLM+XZ4UpY0FgtkZPM6ZBm+GuHxJy3X/1/zk2E=; b=ez3zOJcNwgWq5iWQNcxnQO3kJJPNAFt2P+cFswyOzE36lS7fiLSN+v2C4WhNQfUxIw sd98znWrmCp2in7XvRx/WlbSyvT3X2MR8egzztCFXXG7Kf61jkTQ7zW+1PtwTCEPfV+e B9VWluFirA8PT36Fc+yZNWJ9ykYLB+WH1+qf7dmwsEEqn0wHnqdCXIgxlPpca7l756km 1qkNAjSkwPNao+XJ9js80Ly0zqa7d/GDZJYe+m72SAxCUNpxeobTKGCfIDmHHsf+L0vW iz1SHvAIbfmfyF845mmA4ziZDsZ/stw+7t1RPsF/Go3w4JsHwFscTGm/5jQ/JW2ZYAnv 4QTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Bpz2aGit; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 e24si4787947otl.62.2019.12.23.03.06.07; Mon, 23 Dec 2019 03:06:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Bpz2aGit; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727360AbfLWLGH (ORCPT + 8 others); Mon, 23 Dec 2019 06:06:07 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:39112 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfLWLGC (ORCPT ); Mon, 23 Dec 2019 06:06:02 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBNB5hDi032275; Mon, 23 Dec 2019 05:05:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1577099143; bh=zhvQmTLM+XZ4UpY0FgtkZPM6ZBm+GuHxJy3X/1/zk2E=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Bpz2aGitISC+LJkm9NUfgJtELurXbXP6LmLJydD7z/LK2+kgLWJYU4OyE1+hiUYmi k5kzRjk127TZoxlQ3fA7HCqzKfDMNoNEK9L+r2XMOA52hHXowyMKGQDtSa0LUCNCer /rys5b4xuVLGyZyEE+I87+yaF0k+zmj5o8yu5qdY= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBNB5h8v026157 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 23 Dec 2019 05:05:43 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 23 Dec 2019 05:05:43 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) 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; Mon, 23 Dec 2019 05:05:43 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBNB4eMM025693; Mon, 23 Dec 2019 05:05:39 -0600 From: Peter Ujfalusi To: , , , CC: , , , , , , , , , , , Subject: [PATCH v8 15/18] firmware: ti_sci: Export devm_ti_sci_get_of_resource for modules Date: Mon, 23 Dec 2019 13:04:55 +0200 Message-ID: <20191223110458.30766-16-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191223110458.30766-1-peter.ujfalusi@ti.com> References: <20191223110458.30766-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Allow devm_ti_sci_get_of_resource() to be usable from modules. Signed-off-by: Peter Ujfalusi --- drivers/firmware/ti_sci.c | 1 + 1 file changed, 1 insertion(+) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index f13e4a96f3b7..3d8241cb6921 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -3332,6 +3332,7 @@ devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle, return ERR_PTR(-EINVAL); } +EXPORT_SYMBOL_GPL(devm_ti_sci_get_of_resource); static int tisci_reboot_handler(struct notifier_block *nb, unsigned long mode, void *cmd)