[PATCH 2/2] OF: Fix fixups to fix Linux DT instead of Barebox DT

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 4 23:50:14 PST 2016


On Mon, Jan 04, 2016 at 07:02:34PM +0000, Trent Piepho wrote:
> OF fixups cm_cogent_fixup() and hb_fixup() are supposed to modify the
> Linux device tree.  And they did originally, but commit
> e520a8cc463760d21890b35218e4dac817e7c7e7 changed them to use
> for_each_compatible_node(), which iterates through the Barebox DT.
> Use new for_each_compatible_node_from() to specify the Linux DT root
> as the start point.
> 
> Signed-off-by: Trent Piepho <tpiepho at kymetacorp.com>
> ---
>  arch/arm/boards/at91sam9x5ek/hw_version.c | 2 +-
>  arch/arm/boards/highbank/init.c           | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list