From: Yu Zhao Date: Fri, 26 Jun 2009 06:04:46 +0000 (+0800) Subject: PCI: check if bus has a proper bridge device before triggering SBR X-Git-Tag: v2.6.31-rc3~71^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654b75e044119bf8e7d773bce41ea039281bbfbe;p=pandora-kernel.git PCI: check if bus has a proper bridge device before triggering SBR For devices attached to the root bus, we can't trigger Secondary Bus Reset because there is no bridge device associated with the bus. So need to check bus->self again NULL first before using it. Reviewed-by: Kenji Kaneshige Signed-off-by: Yu Zhao Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed