From 4a7e0adbdce1135c7f047026a6453f543a29a205 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 26 Mar 2013 22:55:57 +0800 Subject: [PATCH] --- yaml --- r: 373587 b: refs/heads/master c: b343a1887ea4f798758d0023838d16a428f728d5 h: refs/heads/master i: 373585: 57661b228acf27845d8c3b1c2fe03262c9feea1b 373583: 37b8899edb498e1dd96f3fc33e68fd05b0fafa70 v: v3 --- [refs] | 2 +- trunk/drivers/pwm/pwm-tiehrpwm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 45dc87877be5..a1d52d42c8a7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a38c9898574967c5a8ab670f1b27d9ecf71d32cc +refs/heads/master: b343a1887ea4f798758d0023838d16a428f728d5 diff --git a/trunk/drivers/pwm/pwm-tiehrpwm.c b/trunk/drivers/pwm/pwm-tiehrpwm.c index d058ba90845b..6a217596942f 100644 --- a/trunk/drivers/pwm/pwm-tiehrpwm.c +++ b/trunk/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);