]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pwm/pwm-samsung.c
Merge tag 'for-3.8-rc1' of git://gitorious.org/linux-pwm/linux-pwm
[karo-tx-linux.git] / drivers / pwm / pwm-samsung.c
index e9b15d099c03cb87d668aa500d5752d18e471061..5207e6cd8648d0d89a7ecea039b930a6ff5cf6dc 100644 (file)
@@ -222,6 +222,7 @@ static int s3c_pwm_probe(struct platform_device *pdev)
 
        /* calculate base of control bits in TCON */
        s3c->tcon_base = id == 0 ? 0 : (id * 4) + 4;
+       s3c->pwm_id = id;
        s3c->chip.dev = &pdev->dev;
        s3c->chip.ops = &s3c_pwm_ops;
        s3c->chip.base = -1;