Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/ifpga KNF and remove #include <sys/malloc.h>



details:   https://anonhg.NetBSD.org/src/rev/16988b44c65c
branches:  trunk
changeset: 984883:16988b44c65c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jul 27 21:13:41 2021 +0000

description:
KNF and remove #include <sys/malloc.h>

Fixes the build - prompted by cjep.

diffstat:

 sys/arch/evbarm/ifpga/plcom_ifpga.c |  11 +++++------
 sys/arch/evbarm/ifpga/plmmc_ifpga.c |  11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)

diffs (64 lines):

diff -r c79c71a499bc -r 16988b44c65c sys/arch/evbarm/ifpga/plcom_ifpga.c
--- a/sys/arch/evbarm/ifpga/plcom_ifpga.c       Tue Jul 27 20:23:41 2021 +0000
+++ b/sys/arch/evbarm/ifpga/plcom_ifpga.c       Tue Jul 27 21:13:41 2021 +0000
@@ -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>
diff -r c79c71a499bc -r 16988b44c65c sys/arch/evbarm/ifpga/plmmc_ifpga.c
--- a/sys/arch/evbarm/ifpga/plmmc_ifpga.c       Tue Jul 27 20:23:41 2021 +0000
+++ b/sys/arch/evbarm/ifpga/plmmc_ifpga.c       Tue Jul 27 21:13:41 2021 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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>



Home | Main Index | Thread Index | Old Index