Skip to content

Commit bb1a793

Browse files
tpetazzoniKAGA-KOKO
authored andcommitted
base: Export platform_msi_domain_[alloc,free]_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 <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Rob Herring <[email protected]> Cc: Frank Rowand <[email protected]> Cc: Grant Likely <[email protected]> Cc: Jiang Liu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 14a0db3 commit bb1a793

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/base/platform-msi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec,
284284

285285
return err;
286286
}
287+
EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs);
287288

288289
/**
289290
* platform_msi_domain_free_irqs - Free MSI interrupts for @dev
@@ -301,6 +302,7 @@ void platform_msi_domain_free_irqs(struct device *dev)
301302
msi_domain_free_irqs(dev->msi_domain, dev);
302303
platform_msi_free_descs(dev, 0, MAX_DEV_MSIS);
303304
}
305+
EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);
304306

305307
/**
306308
* platform_msi_get_host_data - Query the private data associated with

0 commit comments

Comments
 (0)