aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/nvidia/tegra_ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/nvidia/tegra_ehci.c')
-rw-r--r--sys/arm/nvidia/tegra_ehci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm/nvidia/tegra_ehci.c b/sys/arm/nvidia/tegra_ehci.c
index d3c97c117842..811c0e58ccd8 100644
--- a/sys/arm/nvidia/tegra_ehci.c
+++ b/sys/arm/nvidia/tegra_ehci.c
@@ -311,8 +311,7 @@ static device_method_t ehci_methods[] = {
DEVMETHOD_END
};
-static devclass_t ehci_devclass;
static DEFINE_CLASS_0(ehci, ehci_driver, ehci_methods,
sizeof(struct tegra_ehci_softc));
-DRIVER_MODULE(tegra_ehci, simplebus, ehci_driver, ehci_devclass, NULL, NULL);
+DRIVER_MODULE(tegra_ehci, simplebus, ehci_driver, NULL, NULL);
MODULE_DEPEND(tegra_ehci, usb, 1, 1, 1);