[PATCH] ARM: pxa: fix regulator related build fail in magician_defconfig

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Mar 28 05:43:51 EDT 2012


On Wed, Mar 14, 2012 at 12:32:36PM +0000, Mark Brown wrote:
> On Wed, Mar 14, 2012 at 08:30:07AM -0400, Paul Gortmaker wrote:
> > On 12-03-14 04:38 AM, Haojian Zhuang wrote:
> 
> > > How do you think about Mark's comments? Use dev_name() at here.
> 
> > I'm not sure I quite understand you.  I'd looked up the
> > structs and got their respective value that would be
> > returned by dev_name(), which is what I thought was
> > requested of me.
> 
> Yes, that's what you should do.  Calling dev_name() is only possible if
> you have the struct device and removing the need for the struct device
> is exactly what we're trying to avoid here.

So what the hell is happening here to fix the breakage which the
regulator tree caused in mainline?  From this thread, it looks like
it's been known about since 8th March which is now twenty days ago,
and it's still broken.



More information about the linux-arm-kernel mailing list