On Tue, Jul 03, 2012 at 12:00:59PM +1000, Stephen Rothwell wrote: > On Mon, 2 Jul 2012 19:04:10 +0100 Mark Brown wrote: > > +#define __clk_get(clk) ({ 1; }) > > +#define __clk_put(clk) do { } while (0) > So why not: > struct clk; > static inline int __clk_get(struct clk *clk) { return 1; } > static inline void __clk_put(struct clk *clk) ( ) No idea, I'm just taking the existing default header and making it more generally available.