X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fleds%2Fleds-gpio.c;h=4d9fa38d9ff6a3cffb2063823c92b0d147ce13d8;hb=1c32ca9f63d2a103dd33eae72e5aff53a23fe650;hp=ea57e05d08f3f757e67f7a3ed7c5d2c5c0a28aae;hpb=3dc8d7f07e7496c0c6702e7e4b1acc179fa94019;p=pandora-kernel.git diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index ea57e05d08f3..4d9fa38d9ff6 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -316,7 +316,7 @@ static struct of_platform_driver of_gpio_leds_driver = { static int __init gpio_led_init(void) { - int ret; + int ret = 0; #ifdef CONFIG_LEDS_GPIO_PLATFORM ret = platform_driver_register(&gpio_led_driver);