From 7e2e48958b38f9ce6555a1ebc93464d7df5a29f9 Mon Sep 17 00:00:00 2001 From: markj Date: Tue, 24 Jul 2018 21:02:11 +0000 Subject: [PATCH] Embed a simplebus_softc in struct soc_softc. This is required by the definition of the soc driver. Reviewed by: br Sponsored by: The FreeBSD Foundation --- sys/riscv/riscv/soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/riscv/riscv/soc.c b/sys/riscv/riscv/soc.c index c470417eaddced..52d9c64a03deee 100644 --- a/sys/riscv/riscv/soc.c +++ b/sys/riscv/riscv/soc.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include struct soc_softc { + struct simplebus_softc simplebus_sc; device_t dev; };