leds: fix unsigned value overflow in atmel pwm driver
[safe/jmp/linux-2.6] / drivers / leds / leds-atmel-pwm.c
index 28db6c1..52297c3 100644 (file)
@@ -37,7 +37,7 @@ static int __init pwmled_probe(struct platform_device *pdev)
 {
        const struct gpio_led_platform_data     *pdata;
        struct pwmled                           *leds;
-       unsigned                                i;
+       int                                     i;
        int                                     status;
 
        pdata = pdev->dev.platform_data;