5 Jun
2012
5 Jun
'12
12:08 p.m.
On Tue, Jun 05, 2012 at 11:03:16AM +0100, Mark Brown wrote:
On Tue, Jun 05, 2012 at 08:47:14AM +0200, Sascha Hauer wrote:
Have you tried compiling this on PowerPC? devm_clk_get is only available with CONFIG_CLKDEV_LOOKUP, I think on PowerPC this is not the case.
I've not, but I guess there will be an issue. I'd say the fix here is on the PowerPC side - it's not good to have to have Kconfig bodges for things like this in individual drivers. Ideally we'd add clkdev support...
Or get rid of devm_clk_get()'s dependency on CLKDEV (which is in itself silly.)