X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Fpower_supply.h;h=4617cf4f6c5b0ab042c7f6a5af1af84a00684b20;hb=19cdeabd639a5a0d6ba0afe0ddc756d5fb7a434a;hp=79e90b3d32888fe6fd5e3abff958a346738d4ab2;hpb=418702b91073ed0dae774189f69b335cbc92f84d;p=mirror_ubuntu-bionic-kernel.git diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 79e90b3d3288..4617cf4f6c5b 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -251,6 +251,7 @@ struct power_supply { spinlock_t changed_lock; bool changed; bool initialized; + bool removing; atomic_t use_cnt; #ifdef CONFIG_THERMAL struct thermal_zone_device *tzd;