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
nexedi
linux
Commits
3629ac5b
Commit
3629ac5b
authored
Feb 14, 2020
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pm-cpufreq'
* pm-cpufreq: cpufreq: Make cpufreq_global_kobject static
parents
fdde0ff8
183edb20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq.c
+2
-3
include/linux/cpufreq.h
include/linux/cpufreq.h
+0
-3
No files found.
drivers/cpufreq/cpufreq.c
View file @
3629ac5b
...
...
@@ -105,6 +105,8 @@ bool have_governor_per_policy(void)
}
EXPORT_SYMBOL_GPL
(
have_governor_per_policy
);
static
struct
kobject
*
cpufreq_global_kobject
;
struct
kobject
*
get_governor_parent_kobj
(
struct
cpufreq_policy
*
policy
)
{
if
(
have_governor_per_policy
())
...
...
@@ -2745,9 +2747,6 @@ int cpufreq_unregister_driver(struct cpufreq_driver *driver)
}
EXPORT_SYMBOL_GPL
(
cpufreq_unregister_driver
);
struct
kobject
*
cpufreq_global_kobject
;
EXPORT_SYMBOL
(
cpufreq_global_kobject
);
static
int
__init
cpufreq_core_init
(
void
)
{
if
(
cpufreq_disabled
())
...
...
include/linux/cpufreq.h
View file @
3629ac5b
...
...
@@ -201,9 +201,6 @@ static inline bool policy_is_shared(struct cpufreq_policy *policy)
return
cpumask_weight
(
policy
->
cpus
)
>
1
;
}
/* /sys/devices/system/cpu/cpufreq: entry point for global variables */
extern
struct
kobject
*
cpufreq_global_kobject
;
#ifdef CONFIG_CPU_FREQ
unsigned
int
cpufreq_get
(
unsigned
int
cpu
);
unsigned
int
cpufreq_quick_get
(
unsigned
int
cpu
);
...
...
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