[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-48f3682ed4747670e9ef846751e25022b6b8d14d@git.kernel.org>
Date: Tue, 26 Jan 2016 07:05:11 -0800
From: tip-bot for Thomas Petazzoni <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, mingo@...nel.org, grant.likely@...aro.org,
thomas.petazzoni@...e-electrons.com, frowand.list@...il.com,
robh+dt@...nel.org, tglx@...utronix.de, marc.zyngier@....com,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
jiang.liu@...ux.intel.com
Subject: [tip:irq/urgent] base: Export platform_msi_domain_%7Balloc,
free%7D_irqs
Commit-ID: 48f3682ed4747670e9ef846751e25022b6b8d14d
Gitweb: http://git.kernel.org/tip/48f3682ed4747670e9ef846751e25022b6b8d14d
Author: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
AuthorDate: Tue, 26 Jan 2016 13:52:27 +0000
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 26 Jan 2016 16:00:15 +0100
base: Export platform_msi_domain_%7Balloc,free%7D_irqs
The new function platform_msi_domain_{alloc,free}_irqs are meant to be
used in platform drivers, which can be built as modules. Therefore, it
makes sense to export them to be used from kernel modules.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Acked-by: Marc Zyngier <marc.zyngier@....com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Rob Herring <robh+dt@...nel.org>
Cc: Frank Rowand <frowand.list@...il.com>
Cc: Grant Likely <grant.likely@...aro.org>
Cc: Jiang Liu <jiang.liu@...ux.intel.com>
Link: http://lkml.kernel.org/r/1453816347-32720-4-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
drivers/base/platform-msi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index 47c4338..279e539 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -284,6 +284,7 @@ out_free_priv_data:
return err;
}
+EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs);
/**
* platform_msi_domain_free_irqs - Free MSI interrupts for @dev
@@ -301,6 +302,7 @@ void platform_msi_domain_free_irqs(struct device *dev)
msi_domain_free_irqs(dev->msi_domain, dev);
platform_msi_free_descs(dev, 0, MAX_DEV_MSIS);
}
+EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);
/**
* platform_msi_get_host_data - Query the private data associated with
Powered by blists - more mailing lists