From: Jia Hongtao Date: Fri, 3 Aug 2012 10:14:09 +0000 (+0800) Subject: powerpc/fsl-pci: Only scan PCI bus if configured as a host X-Git-Tag: v3.6-rc4~13^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f11c30374329a0d2a88cf05281ca49d8eca9ab;p=pandora-kernel.git powerpc/fsl-pci: Only scan PCI bus if configured as a host We change fsl_add_bridge to return -ENODEV if the controller is working in agent mode. Then check the return value of fsl_add_bridge to guarantee that only successfully added host bus will be scanned. Signed-off-by: Jia Hongtao Signed-off-by: Li Yang Signed-off-by: Kumar Gala --- Reading git-diff-tree failed