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
5ff5ec59
Commit
5ff5ec59
authored
Jun 29, 2016
by
Stephen Boyd
Browse files
Options
Browse Files
Download
Plain Diff
Merge 'clk-notify' into clk-next
* clk-notify: clk: Provide notifier stubs when !COMMON_CLK
parents
629ff486
e81b87d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
include/linux/clk.h
include/linux/clk.h
+14
-2
No files found.
include/linux/clk.h
View file @
5ff5ec59
...
...
@@ -20,8 +20,6 @@ struct device;
struct
clk
;
#ifdef CONFIG_COMMON_CLK
/**
* DOC: clk notifier callback types
*
...
...
@@ -78,6 +76,8 @@ struct clk_notifier_data {
unsigned
long
new_rate
;
};
#ifdef CONFIG_COMMON_CLK
/**
* clk_notifier_register: register a clock rate-change notifier callback
* @clk: clock whose rate we are interested in
...
...
@@ -140,6 +140,18 @@ bool clk_is_match(const struct clk *p, const struct clk *q);
#else
static
inline
int
clk_notifier_register
(
struct
clk
*
clk
,
struct
notifier_block
*
nb
)
{
return
-
ENOTSUPP
;
}
static
inline
int
clk_notifier_unregister
(
struct
clk
*
clk
,
struct
notifier_block
*
nb
)
{
return
-
ENOTSUPP
;
}
static
inline
long
clk_get_accuracy
(
struct
clk
*
clk
)
{
return
-
ENOTSUPP
;
...
...
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