summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki2013-03-19 00:16:15 +0100
committerRafael J. Wysocki2013-03-19 00:16:15 +0100
commitb09753ec80914424527955147c359e9ac3a87682 (patch)
tree19deffe5ef2fc80aaad22d267d819ecaacd227c3 /drivers/acpi
parentACPI / scan: Make memory hotplug driver use struct acpi_scan_handler (diff)
downloadkernel-qcow2-linux-b09753ec80914424527955147c359e9ac3a87682.tar.gz
kernel-qcow2-linux-b09753ec80914424527955147c359e9ac3a87682.tar.xz
kernel-qcow2-linux-b09753ec80914424527955147c359e9ac3a87682.zip
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index 83db3a68a7ee..fcae5fa2e1b3 100644
--- a/drivers/acpi/sysfs.c
+++ b/drivers/acpi/sysfs.c
@@ -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,
};