summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-12-22 16:25:22 +0000
committerjhb <jhb@FreeBSD.org>2005-12-22 16:25:22 +0000
commitd4cd89f6af50e921c62622f69aafbc3ab904e5f6 (patch)
tree77c2352fb91f0dbcf5cd40a00d422c1d71f912aa /sys
parentfec7bec361c81077222b0f0d380d1c918ccffd81 (diff)
downloadFreeBSD-src-d4cd89f6af50e921c62622f69aafbc3ab904e5f6.zip
FreeBSD-src-d4cd89f6af50e921c62622f69aafbc3ab904e5f6.tar.gz
Return BUS_PROBE_GENERIC rather than 0 in the probe routine.
Requested by: marius
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/vga_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c
index 43eb876..ea7ce33 100644
--- a/sys/dev/pci/vga_pci.c
+++ b/sys/dev/pci/vga_pci.c
@@ -61,7 +61,7 @@ vga_pci_probe(device_t dev)
return (ENXIO);
}
device_set_desc(dev, "VGA-compatible display");
- return (0);
+ return (BUS_PROBE_GENERIC);
}
static int
OpenPOWER on IntegriCloud