From: kettenis Date: Tue, 2 May 2017 15:13:20 +0000 (+0000) Subject: Remove check for compatible property here as well. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63ce8d7a6caf472c2814efd122e020963bd01863;p=openbsd Remove check for compatible property here as well. --- 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 * Copyright (c) 2017 Mark Kettenis @@ -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;