diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 9eda2f84a3cf9863f1a6fcf1bfaec486f2abcc1e..4864a5c189d464a9ef4327416a7f9d0ae1aaca34 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -9633,13 +9633,13 @@ static ssize_t charge_control_end_threshold_store(struct device *dev, static DEVICE_ATTR_RW(charge_control_start_threshold); static DEVICE_ATTR_RW(charge_control_end_threshold); -struct device_attribute dev_attr_charge_start_threshold = __ATTR( +static struct device_attribute dev_attr_charge_start_threshold = __ATTR( charge_start_threshold, 0644, charge_control_start_threshold_show, charge_control_start_threshold_store ); -struct device_attribute dev_attr_charge_stop_threshold = __ATTR( +static struct device_attribute dev_attr_charge_stop_threshold = __ATTR( charge_stop_threshold, 0644, charge_control_end_threshold_show,