summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2012-11-19 18:44:45 +0100
committerThierry Reding <thierry.reding@avionic-design.de>2012-11-22 22:47:11 +0100
commit2f9569f7ceab31242b306d040861737580e1876f (patch)
tree5ce8174bfbb87a40878e63135d58e77a6d1bf066 /drivers/pwm
parentpwm: spear: Staticize spear_pwm_config() (diff)
downloadlinux-2f9569f7ceab31242b306d040861737580e1876f.tar.xz
linux-2f9569f7ceab31242b306d040861737580e1876f.zip
pwm: vt8500: Fix build error
A missing '{' causes a build error in pwm-vt8500.c Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-vt8500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-vt8500.c b/drivers/pwm/pwm-vt8500.c
index 970b0c6e268f..806f72c2421f 100644
--- a/drivers/pwm/pwm-vt8500.c
+++ b/drivers/pwm/pwm-vt8500.c
@@ -100,7 +100,7 @@ static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
struct vt8500_chip *vt8500 = to_vt8500_chip(chip);
err = clk_enable(vt8500->clk);
- if (err < 0)
+ if (err < 0) {
dev_err(chip->dev, "failed to enable clock\n");
return err;
};