OSDN Git Service

Fix another buggy fake acpi pci root driver
authorPeter Jones <pjones@redhat.com>
Mon, 10 Sep 2018 19:00:03 +0000 (15:00 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 10 Sep 2018 19:02:23 +0000 (15:02 -0400)
commitda30e9f2eee235ce11d47bb2e32f976b8c187e5d
treea0a65b2b3b3d23e236ee641dc1a3cacbc5b76407
parent0c44e3d75a9c3a2a1d4cef3c1b836aa0d7fb004f
Fix another buggy fake acpi pci root driver

In this case, the platform driver that creates the PCI(e) root device
doesn't fill in its driver link, so we can't look up what driver is in
use - but since it's the root, it *really* doesn't matter.  And in
general, we only really care if it's the last node in our path, because
that'll be the controller for the boot device anyway.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/linux-pci.c