summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2012-11-20 06:44:45 +1300
committerThierry Reding <thierry.reding@avionic-design.de>2012-11-22 22:47:11 +0100
commit2f9569f7ceab31242b306d040861737580e1876f (patch)
tree5ce8174bfbb87a40878e63135d58e77a6d1bf066 /drivers/pwm
parentc9371360997ba26c7e341b3d91d530e16a6aab1b (diff)
downloadlinux-3.10-2f9569f7ceab31242b306d040861737580e1876f.tar.gz
linux-3.10-2f9569f7ceab31242b306d040861737580e1876f.tar.bz2
linux-3.10-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 970b0c6e268..806f72c2421 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;
};