I think that if a PCI bus is a root bus, attached to a host bridge not a
authorDave Airlie <airlied@starflyer.(none)>
Wed, 23 Nov 2005 10:45:43 +0000 (21:45 +1100)
committerDave Airlie <airlied@linux.ie>
Wed, 23 Nov 2005 10:45:43 +0000 (21:45 +1100)
commitbd07ed2b4d7071716c09895e19849e8b04991656
tree41aebda6814e358c6afc27b1f00dbe21355e5eaa
parent1778d55edb62753a92b979fa57072c2e1ff3d062
I think that if a PCI bus is a root bus, attached to a host bridge not a
PCI->PCI bridge, then bus->self is allowed to be NULL. Certainly that's
the case on my Pegasos, and it makes the MGA DRM driver oops...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/mga_drv.c