summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-11-28 18:12:07 +0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-12-06 11:51:38 +0400
commit417328c3f77187f5d8cc433627c25eb1063c1507 (patch)
treebf0d14d197cf68e79e0ba9779f4de021bcf198cc /drivers/pwm
parent6179a58ec7e26dad1bc262762e322dffb875152b (diff)
downloadlinux-417328c3f77187f5d8cc433627c25eb1063c1507.tar.xz
pwm: Export of_pwm_xlate_with_flags()
Drivers may want to use this function if they support any of the flags that can be passed via a third cell in the DT specifier. Since those drivers may be built as modules the symbol needs to be exported to make sure that it can be accessed. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
index 780cb6b8a8f0..903138b18842 100644
--- a/drivers/pwm/core.c
+++ b/drivers/pwm/core.c
@@ -156,6 +156,7 @@ of_pwm_xlate_with_flags(struct pwm_chip *pc, const struct of_phandle_args *args)
return pwm;
}
+EXPORT_SYMBOL_GPL(of_pwm_xlate_with_flags);
static struct pwm_device *
of_pwm_simple_xlate(struct pwm_chip *pc, const struct of_phandle_args *args)