Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Use correct size of softc in CFATTACH_DECL_NEW
details: https://anonhg.NetBSD.org/src/rev/777b850a0643
branches: trunk
changeset: 998765:777b850a0643
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Apr 30 23:10:33 2019 +0000
description:
Use correct size of softc in CFATTACH_DECL_NEW
diffstat:
sys/dev/fdt/dwcmmc_fdt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 220a8e8c481c -r 777b850a0643 sys/dev/fdt/dwcmmc_fdt.c
--- a/sys/dev/fdt/dwcmmc_fdt.c Tue Apr 30 22:42:32 2019 +0000
+++ b/sys/dev/fdt/dwcmmc_fdt.c Tue Apr 30 23:10:33 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwcmmc_fdt.c,v 1.7 2018/08/12 16:34:28 jmcneill Exp $ */
+/* $NetBSD: dwcmmc_fdt.c,v 1.8 2019/04/30 23:10:33 jmcneill Exp $ */
/*-
* Copyright (c) 2015-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.7 2018/08/12 16:34:28 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.8 2019/04/30 23:10:33 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -70,7 +70,7 @@
u_int sc_ciu_div;
};
-CFATTACH_DECL_NEW(dwcmmc_fdt, sizeof(struct dwc_mmc_softc),
+CFATTACH_DECL_NEW(dwcmmc_fdt, sizeof(struct dwcmmc_fdt_softc),
dwcmmc_fdt_match, dwcmmc_fdt_attach, NULL, NULL);
static int
Home |
Main Index |
Thread Index |
Old Index