Hello, On Mon, 09 Dec 2013 02:53:47 +0400, Sergei Ianovich wrote:
> Static plaform devices are created from postcore_initcall(). The status > quo remains for non-device tree machines. > > Device tree machine now have a chance to prevent spawning of static > devices by calling pxa27x_skip_init(). > > Signed-off-by: Sergei Ianovich <[email protected]> > CC: Russell King - ARM Linux <[email protected]> > CC: Daniel Mack <[email protected]> > CC: Arnd Bergmann <[email protected]> > --- > arch/arm/mach-pxa/include/mach/pxa27x.h | 1 + > arch/arm/mach-pxa/pxa27x.c | 10 ++++++++++ 2 files > changed, 11 insertions(+) I would suggest to copy the corresponding code from pxa3xx.c - use of_have_populated_dt() instead of adding extra static variable. -- With best wishes Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

