summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-05-02 15:13:21 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-05-02 15:13:21 +0000
commit69d6be6d277dffb0c8ddbd66f6da4819616bd57e (patch)
tree9dac7bb3a2ee1f7e4d04ae4e181fef27bc986b1c /sys
parent48ededfe459204daeebca0541075cf57087df927 (diff)
Remove check for compatible property here as well.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/dev/mainbus.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/arm64/dev/mainbus.c b/sys/arch/arm64/dev/mainbus.c
index a5e6bf3f785..465bfe85352 100644
--- a/sys/arch/arm64/dev/mainbus.c
+++ b/sys/arch/arm64/dev/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.5 2017/04/30 13:54:00 kettenis Exp $ */
+/* $OpenBSD: mainbus.c,v 1.6 2017/05/02 15:13:20 kettenis Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
@@ -150,9 +150,6 @@ mainbus_attach_node(struct device *self, int node, cfmatch_t submatch)
int i, len, line;
uint32_t *cell, *reg;
- if (OF_getproplen(node, "compatible") <= 0)
- return;
-
memset(&fa, 0, sizeof(fa));
fa.fa_name = "";
fa.fa_node = node;