Skip to content

Commit

Permalink
Embed a simplebus_softc in struct soc_softc.
Browse files Browse the repository at this point in the history
This is required by the definition of the soc driver.

Reviewed by:	br
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
markjdb committed Jul 24, 2018
1 parent 5cad361 commit 7e2e489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/riscv/riscv/soc.c
Expand Up @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus_subr.h>

struct soc_softc {
struct simplebus_softc simplebus_sc;
device_t dev;
};

Expand Down

0 comments on commit 7e2e489

Please sign in to comment.