summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/ebus
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2004-03-27 22:39:47 +0000
committertmm <tmm@FreeBSD.org>2004-03-27 22:39:47 +0000
commit8516fa3a52881c636b975c107defeef52dc28358 (patch)
treefec0b8aadf8214ee99dc125c36d18f1eadb64273 /sys/sparc64/ebus
parent22c6f74458bca082b10d211aa9f02187b09fc38c (diff)
downloadFreeBSD-src-8516fa3a52881c636b975c107defeef52dc28358.zip
FreeBSD-src-8516fa3a52881c636b975c107defeef52dc28358.tar.gz
The compatibility specification property is named "compatible", not
"compat". Spotted by: Marius Strobl <marius@alchemy.franken.de>
Diffstat (limited to 'sys/sparc64/ebus')
-rw-r--r--sys/sparc64/ebus/ebus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/ebus/ebus.c b/sys/sparc64/ebus/ebus.c
index 247a4d3..b85ac4a 100644
--- a/sys/sparc64/ebus/ebus.c
+++ b/sys/sparc64/ebus/ebus.c
@@ -390,7 +390,7 @@ ebus_setup_dinfo(device_t dev, struct ebus_softc *sc, phandle_t node,
edi->edi_name = name;
edi->edi_node = node;
- OF_getprop_alloc(node, "compat", 1, (void **)&edi->edi_compat);
+ OF_getprop_alloc(node, "compatible", 1, (void **)&edi->edi_compat);
nreg = OF_getprop_alloc(node, "reg", sizeof(*reg), (void **)&reg);
if (nreg == -1) {
ebus_destroy_dinfo(edi);
OpenPOWER on IntegriCloud