From 63ce8d7a6caf472c2814efd122e020963bd01863 Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 2 May 2017 15:13:20 +0000 Subject: [PATCH] Remove check for compatible property here as well. --- sys/arch/arm64/dev/mainbus.c | 5 +---- 1 file changed, 1 insertion(+), 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 * 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; -- 2.20.1