summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-2f9569f7ceab31242b306d040861737580e1876f.zip
op-kernel-dev-2f9569f7ceab31242b306d040861737580e1876f.tar.gz
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 970b0c6..806f72c 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;
};
OpenPOWER on IntegriCloud