On Wed, Apr 29, 2015 at 09:59:46PM +0200, Lucas Stach wrote: > The bridge device needs to be registered and activated before > the scanning can proceed, as the bridge is the parent for other > devices. > > This fixes a NULL ptr derefernce when scanning PCI hierarchies > with bridges behind bridges. > > Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> > --- > Please apply to master, as this fixes a crash when activating > PCI support on the GW54xx board. > --- > drivers/pci/pci.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox