diff options
| author | Thierry Reding <[email protected]> | 2019-08-29 07:29:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-29 10:09:12 +0000 |
| commit | d9430f96c051ede4e4a3d5a20e68518181e9cd3c (patch) | |
| tree | 1f4685af16e1de6d653078dbd5e91da023dfa45a /drivers/base/platform.c | |
| parent | hwmon: pwm-fan: Use platform_get_irq_optional() (diff) | |
| download | kernel-d9430f96c051ede4e4a3d5a20e68518181e9cd3c.tar.gz kernel-d9430f96c051ede4e4a3d5a20e68518181e9cd3c.zip | |
driver core: platform: Export platform_get_irq_optional()
This function can be used by modules, so it needs to be exported.
Reported-by: kbuild test robot <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/platform.c')
| -rw-r--r-- | drivers/base/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 0dda6ade50fd..11c6e56ccc22 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -213,6 +213,7 @@ int platform_get_irq_optional(struct platform_device *dev, unsigned int 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 |
