From 29f11c7d8b39264d1b67882fca29f176859a2fc3 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Sun, 14 Aug 2016 13:17:59 +0000 Subject: [PATCH] Correct the size of the softc in a10_ehci Reported by: andrew MFC after: 1 week --- sys/arm/allwinner/a10_ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/allwinner/a10_ehci.c b/sys/arm/allwinner/a10_ehci.c index 2d619ca1257d..ff107cb7161c 100644 --- a/sys/arm/allwinner/a10_ehci.c +++ b/sys/arm/allwinner/a10_ehci.c @@ -358,7 +358,7 @@ static device_method_t ehci_methods[] = { static driver_t ehci_driver = { .name = "ehci", .methods = ehci_methods, - .size = sizeof(ehci_softc_t), + .size = sizeof(struct aw_ehci_softc), }; static devclass_t ehci_devclass;