]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/power/jz4740-battery.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[mirror_ubuntu-bionic-kernel.git] / drivers / power / jz4740-battery.c
index d9686aa9270a0b2732292e75b38c57ea32d1c064..6c8931d4ad62a554e3f185af3ada317ac61ffc7d 100644 (file)
@@ -73,7 +73,7 @@ static long jz_battery_read_voltage(struct jz_battery *battery)
 
        mutex_lock(&battery->lock);
 
-       INIT_COMPLETION(battery->read_completion);
+       reinit_completion(&battery->read_completion);
 
        enable_irq(battery->irq);
        battery->cell->enable(battery->pdev);