Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373587
b: refs/heads/master
c: b343a18
h: refs/heads/master
i:
  373585: 57661b2
  373583: 37b8899
v: v3
  • Loading branch information
Axel Lin authored and Thierry Reding committed Mar 26, 2013
1 parent 3fc6903 commit 4a7e0ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a38c9898574967c5a8ab670f1b27d9ecf71d32cc
refs/heads/master: b343a1887ea4f798758d0023838d16a428f728d5
4 changes: 2 additions & 2 deletions trunk/drivers/pwm/pwm-tiehrpwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 4a7e0ad

Please sign in to comment.