Commit d9430f96 authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman

driver core: platform: Export platform_get_irq_optional()

This function can be used by modules, so it needs to be exported.
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6e7e5c7f
...@@ -213,6 +213,7 @@ int platform_get_irq_optional(struct platform_device *dev, unsigned int num) ...@@ -213,6 +213,7 @@ int platform_get_irq_optional(struct platform_device *dev, unsigned int num)
{ {
return __platform_get_irq(dev, num); return __platform_get_irq(dev, num);
} }
EXPORT_SYMBOL_GPL(platform_get_irq_optional);
/** /**
* platform_irq_count - Count the number of IRQs a platform device uses * platform_irq_count - Count the number of IRQs a platform device uses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment