* [PATCH] base: export platform_msi_domain_{alloc,free}_irqs
@ 2015-12-28 14:20 Thomas Petazzoni
2016-01-04 10:24 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2015-12-28 14:20 UTC (permalink / raw)
To: Marc Zyngier, Greg Kroah-Hartman; +Cc: linux-kernel, Thomas Petazzoni
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@free-electrons.com>
---
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 5df4575..82f4c89 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -246,6 +246,7 @@ out_free_data:
return err;
}
+EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs);
/**
* platform_msi_domain_free_irqs - Free MSI interrupts for @dev
@@ -268,3 +269,4 @@ void platform_msi_domain_free_irqs(struct device *dev)
msi_domain_free_irqs(dev->msi_domain, dev);
platform_msi_free_descs(dev);
}
+EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);
--
2.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] base: export platform_msi_domain_{alloc,free}_irqs
2015-12-28 14:20 [PATCH] base: export platform_msi_domain_{alloc,free}_irqs Thomas Petazzoni
@ 2016-01-04 10:24 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2016-01-04 10:24 UTC (permalink / raw)
To: Thomas Petazzoni, Greg Kroah-Hartman; +Cc: linux-kernel
On 28/12/15 14:20, Thomas Petazzoni wrote:
> 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@free-electrons.com>
> ---
> 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 5df4575..82f4c89 100644
> --- a/drivers/base/platform-msi.c
> +++ b/drivers/base/platform-msi.c
> @@ -246,6 +246,7 @@ out_free_data:
>
> return err;
> }
> +EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs);
>
> /**
> * platform_msi_domain_free_irqs - Free MSI interrupts for @dev
> @@ -268,3 +269,4 @@ void platform_msi_domain_free_irqs(struct device *dev)
> msi_domain_free_irqs(dev->msi_domain, dev);
> platform_msi_free_descs(dev);
> }
> +EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);
>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
I'll queue that up as a fix for 4.5.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-04 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 14:20 [PATCH] base: export platform_msi_domain_{alloc,free}_irqs Thomas Petazzoni
2016-01-04 10:24 ` Marc Zyngier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.