From patchwork Mon Dec 23 11:04:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 182387 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp277250ili; Mon, 23 Dec 2019 03:06:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxm4Hudw7PzTMUS911VMYx+JCmiMOGpon9Zig6DKXk+gmMZ51ElbIqrqk4LpvIWbKM3cjDh X-Received: by 2002:a9d:22:: with SMTP id 31mr30020906ota.173.1577099165729; Mon, 23 Dec 2019 03:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577099165; cv=none; d=google.com; s=arc-20160816; b=W/RFnRhF3HzG5VcfBKpQfCWhizsai6456/Ua+UvBZoEdFQFMPNJkDBzidur4OFw2Sp kdQW6sQPXsPIm0or1e1B3eLSy9xg7rjGezoOgqkEcOJiI8te6uTDXV7K2VvMZjM3kCkJ OgOX4cjXGnUYVafkorntugP1DIvW88iBr3feXufq/uaPAoEX++xG3WIEzbUuE/iBY0qA EfdbyLtjvnF7UynLxWhnT2s0/XHjSanYucw+OOQYk7By3AA6iTN84GJ7UiTFA2+rmq3Q iciXUNCZwoXsGWaU2qoh2tyAVoRi+w9ZvxkZHOAP1qTtpA81rjeL+kH8jZSbKAUyPkWB S+PQ== 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=M1ivEh29hpV8EdEIdoVxe758e9/ZAjRIkjB2WDihgI0=; b=QJ6w1GGYyONEtcroNpTCsspp8DDep6zSdfNBUzqoOBMveEyoavUOhqeW5h9QUlqqbF 3sv68yVvtWwbvmHgxrFb58Lz3zO3XQl20rmOxMqD+KY62BKtlRfZlYsoxPobWqkey0uc ghFZGKAUUodslOmTQRoKvb7zwSSClBnVUnmB/WQ692F9N4g1fH2gmyuPFdwMXrtaanvL 2nrHKulcniM2dnDcxEca8FPZ87bt1NtAhRoqXt+Ddf6Ah3qw/MHAPPIf7pn8cED4ixdg P7ipUKVti+NtHVKuMRW2UnE8X2dkXH6V6PMua1CeBn4OR4nuG/ixePJXtUaLyXAQFpp/ NJgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hYUVfMXs; 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 e24si4787947otl.62.2019.12.23.03.06.05; Mon, 23 Dec 2019 03:06:05 -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=hYUVfMXs; 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 S1727339AbfLWLGE (ORCPT + 27 others); Mon, 23 Dec 2019 06:06:04 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:39096 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbfLWLGB (ORCPT ); Mon, 23 Dec 2019 06:06:01 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBNB5eGN032255; Mon, 23 Dec 2019 05:05:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1577099140; bh=M1ivEh29hpV8EdEIdoVxe758e9/ZAjRIkjB2WDihgI0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hYUVfMXssJk1iZU5wrCs5NLKOQ9vWueJuucBE+anjp+E9hthXch9UDkOGg+6OmbT5 xTvIixaGdnlm6T6Eiic2t8zkm1IR7pn4oRIzFWof3/y0ExBTUxuRyefJo9cwdCyNY7 zIjolHX0wCr5kfnrfQxj/kbkNnTCjFuNQJb++08E= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBNB5eTs037678; Mon, 23 Dec 2019 05:05:40 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE103.ent.ti.com (10.64.6.24) 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:39 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE101.ent.ti.com (10.64.6.22) 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:39 -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 xBNB4eML025693; Mon, 23 Dec 2019 05:05:35 -0600 From: Peter Ujfalusi To: , , , CC: , , , , , , , , , , , Subject: [PATCH v8 14/18] of: irq: Export of_msi_get_domain Date: Mon, 23 Dec 2019 13:04:54 +0200 Message-ID: <20191223110458.30766-15-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger Export of_mis_get_domain to enable it for users from outside. Signed-off-by: Matthias Brugger Acked-by: Rob Herring Signed-off-by: Peter Ujfalusi --- drivers/of/irq.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/of/irq.c b/drivers/of/irq.c index a296eaf52a5b..73017506ef00 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -673,6 +673,7 @@ struct irq_domain *of_msi_get_domain(struct device *dev, return NULL; } +EXPORT_SYMBOL_GPL(of_msi_get_domain); /** * of_msi_configure - Set the msi_domain field of a device