svn commit: r336686 - head/sys/riscv/riscv

Mark Johnston markj at FreeBSD.org
Tue Jul 24 21:02:12 UTC 2018


Author: markj
Date: Tue Jul 24 21:02:11 2018
New Revision: 336686
URL: https://svnweb.freebsd.org/changeset/base/336686

Log:
  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

Modified:
  head/sys/riscv/riscv/soc.c

Modified: head/sys/riscv/riscv/soc.c
==============================================================================
--- head/sys/riscv/riscv/soc.c	Tue Jul 24 20:20:17 2018	(r336685)
+++ head/sys/riscv/riscv/soc.c	Tue Jul 24 21:02:11 2018	(r336686)
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/ofw/ofw_bus_subr.h>
 
 struct soc_softc {
+	struct simplebus_softc	simplebus_sc;
 	device_t		dev;
 };
 


More information about the svn-src-all mailing list