summaryrefslogtreecommitdiff
path: root/src/devices/agp_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/agp_device.c')
-rw-r--r--src/devices/agp_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/agp_device.c b/src/devices/agp_device.c
index 517118be99..87c3a20082 100644
--- a/src/devices/agp_device.c
+++ b/src/devices/agp_device.c
@@ -40,8 +40,8 @@ unsigned int agp_scan_bus(struct bus *bus,
device_t child;
max = pci_scan_bus(bus, min_devfn, max_devfn, max);
for(child = bus->children; child; child = child->sibling) {
- if ( (child->path.u.pci.devfn < min_devfn) ||
- (child->path.u.pci.devfn > max_devfn))
+ if ( (child->path.pci.devfn < min_devfn) ||
+ (child->path.pci.devfn > max_devfn))
{
continue;
}