Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1300615

Re: [PATCH] base: export platform_msi_domain_{alloc,free}_irqs

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] base: export platform_msi_domain_{alloc,free}_irqs
Date 2016-01-04 11:30 +0100
Message-ID <qNayK-2al-11@gated-at.bofh.it> (permalink)
References <qKGY9-3gs-1@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] base: export platform_msi_domain_{alloc,free}_irqs Marc Zyngier <marc.zyngier@arm.com> - 2016-01-04 11:30 +0100

csiph-web