lkml.org 
[lkml]   [2013]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 7/9] ARM: dts: pxa27x: skip static platform devices
Date
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 <ynvich@gmail.com>
> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>
> CC: Daniel Mack <zonque@gmail.com>
> CC: Arnd Bergmann <arnd@arndb.de>
> ---
> 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




\
 
 \ /
  Last update: 2013-12-09 16:41    [W:1.450 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site