projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6179a58
)
pwm: Export of_pwm_xlate_with_flags()
author
Thierry Reding
<thierry.reding@avionic-design.de>
Wed, 28 Nov 2012 14:12:07 +0000
(15:12 +0100)
committer
Thierry Reding
<thierry.reding@avionic-design.de>
Thu, 6 Dec 2012 07:51:38 +0000
(08:51 +0100)
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>
drivers/pwm/core.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/core.c
b/drivers/pwm/core.c
index 780cb6b8a8f0f8ef7908d8ba56dce093ce60e862..903138b18842d5fb94cdc88316419702f7e0ae8c 100644
(file)
--- 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)