diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c index d85b5649a5b6..8f49aa53d4f9 100644 --- a/drivers/power/supply/power_supply_sysfs.c +++ b/drivers/power/supply/power_supply_sysfs.c @@ -507,6 +507,7 @@ static struct device_attribute power_supply_attrs[] = { POWER_SUPPLY_ATTR(parallel_output_mode), POWER_SUPPLY_ATTR(alignment), POWER_SUPPLY_ATTR(moisture_detection_enabled), + POWER_SUPPLY_ATTR(cc_toggle_enable), POWER_SUPPLY_ATTR(fg_type), POWER_SUPPLY_ATTR(charger_status), /* Local extensions of type int64_t */ diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 931c206660df..a19b2fc74f2f 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -390,6 +390,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_PARALLEL_OUTPUT_MODE, POWER_SUPPLY_PROP_ALIGNMENT, POWER_SUPPLY_PROP_MOISTURE_DETECTION_ENABLE, + POWER_SUPPLY_PROP_CC_TOGGLE_ENABLE, POWER_SUPPLY_PROP_FG_TYPE, POWER_SUPPLY_PROP_CHARGER_STATUS, /* Local extensions of type int64_t */