Module Name: src
Committed By: skrll
Date: Tue Jul 27 21:13:41 UTC 2021
Modified Files:
src/sys/arch/evbarm/ifpga: plcom_ifpga.c plmmc_ifpga.c
Log Message:
KNF and remove #include <sys/malloc.h>
Fixes the build - prompted by cjep.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/ifpga/plcom_ifpga.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/ifpga/plmmc_ifpga.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/ifpga/plcom_ifpga.c
diff -u src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.17 src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.18
--- src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.17 Tue Oct 23 09:15:36 2018
+++ src/sys/arch/evbarm/ifpga/plcom_ifpga.c Tue Jul 27 21:13:41 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: plcom_ifpga.c,v 1.17 2018/10/23 09:15:36 jmcneill Exp $ */
+/* $NetBSD: plcom_ifpga.c,v 1.18 2021/07/27 21:13:41 skrll Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -32,18 +32,17 @@
/* Interface to plcom (PL010) serial driver. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom_ifpga.c,v 1.17 2018/10/23 09:15:36 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom_ifpga.c,v 1.18 2021/07/27 21:13:41 skrll Exp $");
+#include <sys/param.h>
#include <sys/types.h>
+
+#include <sys/bus.h>
#include <sys/device.h>
#include <sys/systm.h>
-#include <sys/param.h>
-#include <sys/malloc.h>
-
#include <sys/termios.h>
#include <machine/intr.h>
-#include <sys/bus.h>
#include <evbarm/dev/plcomreg.h>
#include <evbarm/dev/plcomvar.h>
Index: src/sys/arch/evbarm/ifpga/plmmc_ifpga.c
diff -u src/sys/arch/evbarm/ifpga/plmmc_ifpga.c:1.1 src/sys/arch/evbarm/ifpga/plmmc_ifpga.c:1.2
--- src/sys/arch/evbarm/ifpga/plmmc_ifpga.c:1.1 Tue Jan 27 16:34:34 2015
+++ src/sys/arch/evbarm/ifpga/plmmc_ifpga.c Tue Jul 27 21:13:41 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: plmmc_ifpga.c,v 1.1 2015/01/27 16:34:34 jmcneill Exp $ */
+/* $NetBSD: plmmc_ifpga.c,v 1.2 2021/07/27 21:13:41 skrll Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -27,18 +27,17 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plmmc_ifpga.c,v 1.1 2015/01/27 16:34:34 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plmmc_ifpga.c,v 1.2 2021/07/27 21:13:41 skrll Exp $");
+#include <sys/param.h>
#include <sys/types.h>
+
+#include <sys/bus.h>
#include <sys/device.h>
#include <sys/systm.h>
-#include <sys/param.h>
-#include <sys/malloc.h>
-
#include <sys/termios.h>
#include <machine/intr.h>
-#include <sys/bus.h>
#include <dev/ic/pl181reg.h>
#include <dev/ic/pl181var.h>