[RFC,PATCH 1/7] arm: add a common struct clk

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jan 7 20:17:57 EST 2010


> +int clk_enable(struct clk *clk)
> +{
> +	if (clk->enable)
> +		return clk->enable(clk);
> +	return 0;
> +}
> +EXPORT_SYMBOL(clk_enable);

 .../...

All those guys look like good candidates to be inlined :-)

Cheers,
Ben.





More information about the linux-arm-kernel mailing list