aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/sifive/sifive_prci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/sifive/sifive_prci.c')
-rw-r--r--sys/riscv/sifive/sifive_prci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/riscv/sifive/sifive_prci.c b/sys/riscv/sifive/sifive_prci.c
index fee67bb153ac..dc3955027645 100644
--- a/sys/riscv/sifive/sifive_prci.c
+++ b/sys/riscv/sifive/sifive_prci.c
@@ -693,11 +693,9 @@ static driver_t prci_driver = {
sizeof(struct prci_softc)
};
-static devclass_t prci_devclass;
-
/*
* hfclk and rtcclk appear later in the device tree than prci, so we must
* attach late.
*/
-EARLY_DRIVER_MODULE(sifive_prci, simplebus, prci_driver, prci_devclass, 0, 0,
+EARLY_DRIVER_MODULE(sifive_prci, simplebus, prci_driver, 0, 0,
BUS_PASS_BUS + BUS_PASS_ORDER_LATE);