From 55d928d5abcc8d2449f21603a5bc1d4679d63e4d Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 2 May 2017 14:45:26 +0000 Subject: [PATCH] Remove check for compatible property. Turns out sunxi relied on the broken check we had before rev 1.16. Suggested by jmatthew@ --- sys/arch/arm/mainbus/mainbus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arch/arm/mainbus/mainbus.c b/sys/arch/arm/mainbus/mainbus.c index 490527e7e4c..3d36366c95b 100644 --- a/sys/arch/arm/mainbus/mainbus.c +++ b/sys/arch/arm/mainbus/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.17 2017/04/30 22:35:33 kettenis Exp $ */ +/* $OpenBSD: mainbus.c,v 1.18 2017/05/02 14:45:26 kettenis Exp $ */ /* * Copyright (c) 2016 Patrick Wildt * Copyright (c) 2017 Mark Kettenis @@ -153,9 +153,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