lkml.org 
[lkml]   [2018]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] clk: core: link consumer with clock driver
Date
Quoting Miquel Raynal (2018-11-23 01:11:32)
> Would you agree with me adding dummy functions in the #else section
> like:
>
> static inline void __clk_device_link(struct device *consumer, struct clk *clk)
> {
> return;
> }
>
> static inline void __clk_device_unlink(struct clk *clk)
> {
> return;
> }
>
> Do you want me to also declare these functions in the #if section
> (with the external keyword) to balance the above declarations?

Why can't we do the linking in __clk_get() and __clk_put()?

\
 
 \ /
  Last update: 2018-11-30 10:27    [W:0.064 / U:4.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site