Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/obs405 - Explicitly include <sys/param.h>.



details:   https://anonhg.NetBSD.org/src/rev/733618845b9c
branches:  trunk
changeset: 954151:733618845b9c
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 04:41:30 2021 +0000

description:
- Explicitly include <sys/param.h>.
- Drop unused headers.
- Sort headers.

No binary changes.

diffstat:

 sys/arch/evbppc/obs405/obs600_autoconf.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r 285327ef08e5 -r 733618845b9c sys/arch/evbppc/obs405/obs600_autoconf.c
--- a/sys/arch/evbppc/obs405/obs600_autoconf.c  Tue Mar 30 04:28:50 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs600_autoconf.c  Tue Mar 30 04:41:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs600_autoconf.c,v 1.11 2021/03/29 13:38:31 rin Exp $ */
+/*     $NetBSD: obs600_autoconf.c,v 1.12 2021/03/30 04:41:30 rin Exp $ */
 
 /*
  * Copyright 2004 Shigeyuki Fukushima.
@@ -33,22 +33,20 @@
  * DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs600_autoconf.c,v 1.11 2021/03/29 13:38:31 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs600_autoconf.c,v 1.12 2021/03/30 04:41:30 rin Exp $");
 
 #include "dwctwo.h"
 
-#include <sys/systm.h>
+#include <sys/param.h>
 #include <sys/device.h>
-#include <sys/cpu.h>
 #include <sys/intr.h>
+#include <sys/systm.h>
 
 #include <machine/obs600.h>
 
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr4xx.h>
 
-#include <dev/ic/comreg.h>
-
 #if NDWCTWO > 0
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>



Home | Main Index | Thread Index | Old Index