summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/clk.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/driver-api/clk.rst')
-rw-r--r--Documentation/driver-api/clk.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/driver-api/clk.rst b/Documentation/driver-api/clk.rst
index 593cca5058b1..3cad45d14187 100644
--- a/Documentation/driver-api/clk.rst
+++ b/Documentation/driver-api/clk.rst
@@ -175,9 +175,9 @@ the following::
To take advantage of your data you'll need to support valid operations
for your clk::
- struct clk_ops clk_foo_ops {
- .enable = &clk_foo_enable;
- .disable = &clk_foo_disable;
+ struct clk_ops clk_foo_ops = {
+ .enable = &clk_foo_enable,
+ .disable = &clk_foo_disable,
};
Implement the above functions using container_of::