From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07872C3524D for ; Mon, 3 Feb 2020 08:35:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD2FB20658 for ; Mon, 3 Feb 2020 08:35:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="r0TVpkHD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbgBCIfv (ORCPT ); Mon, 3 Feb 2020 03:35:51 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:34486 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgBCIfu (ORCPT ); Mon, 3 Feb 2020 03:35:50 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0138ZcL0009609; Mon, 3 Feb 2020 02:35:38 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1580718939; bh=1PMMDpp6XSqR9WhBph6lQ2FGqfnPABFZhmuwEKRj1ms=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=r0TVpkHDXmlJkbqH8GwxZfFQyOsSIC6G9WUWLNdWiCveKA3CiusHofUW9YMXisBOO /PPehsI1dJ+q5+r9YWpiBr3MzktC0+lsSDVfTzvcxJ206gOkEcSapKRCdPM4R/XUNI Ux7wCHpd73tjGth0jEmJCE+Yi00jYdn2Dg/zvUlE= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0138Zce1064333 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 3 Feb 2020 02:35:38 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 3 Feb 2020 02:35:38 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 via Frontend Transport; Mon, 3 Feb 2020 02:35: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 0138ZZGl119265; Mon, 3 Feb 2020 02:35:36 -0600 Subject: Re: [PATCH] firmware: ti_sci: Export devm_ti_sci_get_of_resource for modules To: Peter Ujfalusi , , , CC: , , , References: <20200122104031.15733-1-peter.ujfalusi@ti.com> <88323f5b-1732-f780-5a0d-754026997c2c@ti.com> From: Tero Kristo Message-ID: Date: Mon, 3 Feb 2020 10:35:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <88323f5b-1732-f780-5a0d-754026997c2c@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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 03/02/2020 10:10, Peter Ujfalusi wrote: > Hi, > > On 22/01/2020 12.40, Peter Ujfalusi wrote: >> Allow devm_ti_sci_get_of_resource() to be usable from modules. This one looks fine to me, so: Acked-by: Tero Kristo > > I would really appreciate if ti_sci maintainers would spare some time on > this and the other two patch ;) > > https://lore.kernel.org/lkml/20200122104044.15837-1-peter.ujfalusi@ti.com/ > https://lore.kernel.org/lkml/20200122104009.15622-1-peter.ujfalusi@ti.com/ > > - Péter > >> Signed-off-by: Peter Ujfalusi >> --- >> drivers/firmware/ti_sci.c | 1 + >> 1 file changed, 1 insertion(+) >> >> 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) >> > > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki