From patchwork Tue Sep 27 23:08:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12991467 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D5607C07E9D for ; Tue, 27 Sep 2022 23:09:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v9QHYEBCY8g9a1kgItf4g36/AEscmwPAa4y991ZhoJ4=; b=sFsrgQ6I1GMYMe cSUxANMjlPtjbje9aGSEh1dL+LDlaahQ7M0hmZgA8nEQUXYYb5vOcjB3ajcXt/4Z9hD+OrXtzszOh dlNhZvlPaYbby/oEYjt1CdH8uJZJSOGbRe+hCQRGgXvOj5Tqna7yxojQ3VUGX+SAymSw09fKgofiE zqzT4S7h0GwHBB+M556I9os8w5RZPB0F5WH/z4oJtoM7oCRuOb8piX7yRGrKeUeh7vodB83bl3dhR 1G4l3qPtF7Ayv49bplq6eRC5TNv4SE3DIfpjUCZHDvWk6Mvr7LJ9xwlb4xuRA0kFJlVOQG3t5IKtl wpQZgJ6WgQYHAfVCp2+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odJga-00D7On-6A; Tue, 27 Sep 2022 23:08:20 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odJgP-00D7M8-8l for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 23:08:11 +0000 Received: by mail-pl1-x634.google.com with SMTP id n7so1636366plp.1 for ; Tue, 27 Sep 2022 16:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=/0Wgb/pUWIq+NWeSNBH6i++oWwTqz1d9Kg9pALwjvjA=; b=DvNf2QAz0UeP6EdWSsJ0nLp7UC/cTYt1i+tB6cGYeQOQmAvWQhnvHRTda6G8CT3LUk mbCmI0RCl74H4fto4GkN5wPH1Sp5wM5BwZqOHEsBMF3nUjAQjhr+sKgNXAT/gUxIaxLy TS0GtqYNLZTbvG9W08ShNreSUrTW7Odg64X5lbKYiuW1IDtP4YIZueUASu63Lb63H3EF MsuWjw3bxeaJawYs9zIDUEq96bVL5uIMj0e0tlSpES+mCxUsy11ljhhgPlzQ8e7SL1Xr s/pXXQamNyJhPCmk8yrZjIPI4SSTUJISb5QBsMYOpH+3kPZX+kjIi+j++pVEb0+yxO1f 2bVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=/0Wgb/pUWIq+NWeSNBH6i++oWwTqz1d9Kg9pALwjvjA=; b=A+cyZo5xSFqvnRbnjwRH+vPHIh+l1k0fmMv0kjnFhTG2appfeUky7y41xZXdxqLcZr rzQNcUXZfa2UuJ9GJ95jcd/mPsXWTdASBBhYPABQJL7MMfgrqKohvKCpfPn/t6QCRwTt 6/5EjHlQrzyRRQxSD2Fiel1vU8CUHFvcWdSg0d5/nEgTJFnue5SN7xXXvHO2P8twsIwD rNWNAt6h3D7vw4RNLTTrdGlUWT7N5qsQ2//ZBzeTONbW6W6h3//QKfZg/Z04sGfzsbcY oyXqR0PVYcoWkp4gNImGDdIHJUunrW7q8ceiTrqZjWd/UrInVfalkdxrZsnOiqeUteaw VVjA== X-Gm-Message-State: ACrzQf3tTv3W9lLnkyQHQmjXPzbgsZhFhvkjpbewY08DaxcCkvKjTGgu zFbNtBv62AGyDiWgmoBi5X2/n3K5dVGCQJud X-Google-Smtp-Source: AMsMyM5wYuSJqm+bKdlRIYCXAy/FatWIyUqT1yDRQc5JfrKgKJaC3qlgpz/ZghVX344Tk4e8jXrotA== X-Received: by 2002:a17:902:c1cb:b0:179:edcc:2bf9 with SMTP id c11-20020a170902c1cb00b00179edcc2bf9mr4736379plc.110.1664320087794; Tue, 27 Sep 2022 16:08:07 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id n3-20020a170903110300b00177e590df96sm2134637plh.118.2022.09.27.16.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 16:08:07 -0700 (PDT) From: Kevin Hilman To: Peter Ujfalusi , dmaengine@vger.kernel.org Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Frayer Subject: [PATCH v2 1/3] of/irq: export of_msi_get_domain Date: Tue, 27 Sep 2022 16:08:02 -0700 Message-Id: <20220927230804.4085579-2-khilman@baylibre.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220927230804.4085579-1-khilman@baylibre.com> References: <20220927230804.4085579-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220927_160809_324147_0219D691 X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Link: https://lore.kernel.org/r/20200122104723.16955-1-peter.ujfalusi@ti.com Signed-off-by: Kevin Hilman --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index d22f605fa7ee..c9308baa32c5 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -727,6 +727,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