projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a0db3
)
base: Export platform_msi_domain_[alloc,free]_irqs
author
Thomas Petazzoni
<
[email protected]
>
Tue, 26 Jan 2016 13:52:27 +0000
(13:52 +0000)
committer
Thomas Gleixner
<
[email protected]
>
Tue, 26 Jan 2016 15:33:25 +0000
(16:33 +0100)
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]
>
drivers/base/platform-msi.c
patch
|
blob
|
history
diff --git
a/drivers/base/platform-msi.c
b/drivers/base/platform-msi.c
index 47c43386786b13229f4fbeb5cbdbfe03a2009804..279e53989374f065d01039caf110a14b95f887e0 100644
(file)
--- 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