[PATCH] fix device tree corruption

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 12 09:07:49 EST 2012


This fixes a device tree corruption on current master. Reported by Jan Lübbe

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      fs: move dev_add_child before device_register
      drivers/base: fix corrupt device tree

 common/console.c           |    2 +-
 drivers/base/driver.c      |   32 +++++++++++---------------------
 drivers/i2c/i2c.c          |    4 ----
 drivers/mci/mci-core.c     |    2 +-
 drivers/mtd/core.c         |    4 +---
 drivers/net/phy/mdio_bus.c |    4 ----
 drivers/net/phy/phy.c      |    3 ++-
 drivers/spi/spi.c          |    2 +-
 drivers/w1/w1.c            |    4 ----
 fs/fs.c                    |   10 +++++-----
 include/driver.h           |    5 -----
 net/eth.c                  |    2 +-
 12 files changed, 23 insertions(+), 51 deletions(-)




More information about the barebox mailing list