diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-26 22:55:57 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-03-26 16:04:03 +0100 |
commit | b343a1887ea4f798758d0023838d16a428f728d5 (patch) | |
tree | 1ce8b05f27ceb4f1d37dbd12cfc74dfaea188576 /drivers/pwm/pwm-tiehrpwm.c | |
parent | a38c9898574967c5a8ab670f1b27d9ecf71d32cc (diff) | |
download | op-kernel-dev-b343a1887ea4f798758d0023838d16a428f728d5.zip op-kernel-dev-b343a1887ea4f798758d0023838d16a428f728d5.tar.gz |
pwm: tiehrpwm: Staticize non-exported symbols
Both ehrpwm_pwm_save_context() and ehrpwm_pwm_restore_context() are only used in
this file, make them static.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/pwm-tiehrpwm.c')
-rw-r--r-- | drivers/pwm/pwm-tiehrpwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c index d058ba9..6a21759 100644 --- a/drivers/pwm/pwm-tiehrpwm.c +++ b/drivers/pwm/pwm-tiehrpwm.c @@ -533,7 +533,7 @@ static int ehrpwm_pwm_remove(struct platform_device *pdev) return pwmchip_remove(&pc->chip); } -void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) +static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) { pm_runtime_get_sync(pc->chip.dev); pc->ctx.tbctl = ehrpwm_read(pc->mmio_base, TBCTL); @@ -547,7 +547,7 @@ void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) pm_runtime_put_sync(pc->chip.dev); } -void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc) +static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc) { ehrpwm_write(pc->mmio_base, TBPRD, pc->ctx.tbprd); ehrpwm_write(pc->mmio_base, CMPA, pc->ctx.cmpa); |