kernel/Documentation/driver-api/clk.rst
.. .. @@ -175,9 +175,9 @@ 175 175 To take advantage of your data you'll need to support valid operations 176 176 for your clk:: 177 177 178 - struct clk_ops clk_foo_ops {179 - .enable = &clk_foo_enable;180 - .disable = &clk_foo_disable;178 + struct clk_ops clk_foo_ops = {179 + .enable = &clk_foo_enable,180 + .disable = &clk_foo_disable,181 181 }; 182 182 183 183 Implement the above functions using container_of::