ACPI / hotplug: Make acpi_hotplug_profile_ktype static
The acpi_hotplug_profile_ktype object should be static, so make that be the case. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
0a34764411
commit
b09753ec80
@ -750,7 +750,7 @@ static struct attribute *hotplug_profile_attrs[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
struct kobj_type acpi_hotplug_profile_ktype = {
|
static struct kobj_type acpi_hotplug_profile_ktype = {
|
||||||
.sysfs_ops = &kobj_sysfs_ops,
|
.sysfs_ops = &kobj_sysfs_ops,
|
||||||
.default_attrs = hotplug_profile_attrs,
|
.default_attrs = hotplug_profile_attrs,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user