|
@@ -200,6 +200,12 @@ struct power_supply {
|
|
void (*external_power_changed)(struct power_supply *psy);
|
|
void (*external_power_changed)(struct power_supply *psy);
|
|
void (*set_charged)(struct power_supply *psy);
|
|
void (*set_charged)(struct power_supply *psy);
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Set if thermal zone should not be created for this power supply.
|
|
|
|
+ * For example for virtual supplies forwarding calls to actual
|
|
|
|
+ * sensors or other supplies.
|
|
|
|
+ */
|
|
|
|
+ bool no_thermal;
|
|
/* For APM emulation, think legacy userspace. */
|
|
/* For APM emulation, think legacy userspace. */
|
|
int use_for_apm;
|
|
int use_for_apm;
|
|
|
|
|