Skip to content

Commit

Permalink
ACPI / hotplug: Make acpi_hotplug_profile_ktype static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Mar 18, 2013
1 parent 0a34764 commit b09753e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ static struct attribute *hotplug_profile_attrs[] = {
NULL
};

struct kobj_type acpi_hotplug_profile_ktype = {
static struct kobj_type acpi_hotplug_profile_ktype = {
.sysfs_ops = &kobj_sysfs_ops,
.default_attrs = hotplug_profile_attrs,
};
Expand Down

0 comments on commit b09753e

Please sign in to comment.