Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0f29c20b
Commit
0f29c20b
authored
Jun 26, 2020
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acpi-sysfs'
* acpi-sysfs: ACPI: sysfs: Fix pm_profile_attr type
parents
75b0cea7
e6d701dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/acpi/sysfs.c
drivers/acpi/sysfs.c
+2
-2
No files found.
drivers/acpi/sysfs.c
View file @
0f29c20b
...
...
@@ -938,13 +938,13 @@ static void __exit interrupt_stats_exit(void)
}
static
ssize_t
acpi_show_profile
(
struct
device
*
dev
,
struct
device
_attribute
*
attr
,
acpi_show_profile
(
struct
kobject
*
kobj
,
struct
kobj
_attribute
*
attr
,
char
*
buf
)
{
return
sprintf
(
buf
,
"%d
\n
"
,
acpi_gbl_FADT
.
preferred_profile
);
}
static
const
struct
device
_attribute
pm_profile_attr
=
static
const
struct
kobj
_attribute
pm_profile_attr
=
__ATTR
(
pm_profile
,
S_IRUGO
,
acpi_show_profile
,
NULL
);
static
ssize_t
hotplug_enabled_show
(
struct
kobject
*
kobj
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment