projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a34764
)
ACPI / hotplug: Make acpi_hotplug_profile_ktype static
author
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 18 Mar 2013 23:16:15 +0000
(
00:16
+0100)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 18 Mar 2013 23:16:15 +0000
(
00:16
+0100)
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>
drivers/acpi/sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/sysfs.c
b/drivers/acpi/sysfs.c
index 83db3a68a7eebebaf9fa5cc9ad5347b3d3838a0c..fcae5fa2e1b322481ec2b331c4df0430bff66d53 100644
(file)
--- 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 = {
+st
atic st
ruct kobj_type acpi_hotplug_profile_ktype = {
.sysfs_ops = &kobj_sysfs_ops,
.default_attrs = hotplug_profile_attrs,
};