Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/alchemy/dev Cleanup includes.



details:   https://anonhg.NetBSD.org/src/rev/4bec2a7a3fb1
branches:  trunk
changeset: 339111:4bec2a7a3fb1
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jun 27 03:33:18 2015 +0000

description:
Cleanup includes.

diffstat:

 sys/arch/mips/alchemy/dev/augpio.c |   8 ++++----
 sys/arch/mips/alchemy/dev/aupci.c  |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (66 lines):

diff -r 4c64984469bf -r 4bec2a7a3fb1 sys/arch/mips/alchemy/dev/augpio.c
--- a/sys/arch/mips/alchemy/dev/augpio.c        Sat Jun 27 03:31:29 2015 +0000
+++ b/sys/arch/mips/alchemy/dev/augpio.c        Sat Jun 27 03:33:18 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: augpio.c,v 1.7 2012/01/03 07:36:02 kiyohara Exp $ */
+/* $NetBSD: augpio.c,v 1.8 2015/06/27 03:33:18 matt Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
  */ 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: augpio.c,v 1.7 2012/01/03 07:36:02 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: augpio.c,v 1.8 2015/06/27 03:33:18 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -41,11 +41,11 @@
 #include <sys/device.h>
 #include <sys/gpio.h>
 #include <sys/kernel.h>
+#include <sys/bus.h>
 
 #include <dev/gpio/gpiovar.h>
 
-#include <sys/bus.h>
-#include <machine/cpu.h>
+#include <mips/locore.h>
 
 #include <mips/alchemy/include/aubusvar.h>
 #include <mips/alchemy/include/aureg.h>
diff -r 4c64984469bf -r 4bec2a7a3fb1 sys/arch/mips/alchemy/dev/aupci.c
--- a/sys/arch/mips/alchemy/dev/aupci.c Sat Jun 27 03:31:29 2015 +0000
+++ b/sys/arch/mips/alchemy/dev/aupci.c Sat Jun 27 03:33:18 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aupci.c,v 1.15 2014/03/29 19:28:29 christos Exp $ */
+/* $NetBSD: aupci.c,v 1.16 2015/06/27 03:33:18 matt Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -35,7 +35,7 @@
 #include "pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.15 2014/03/29 19:28:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.16 2015/06/27 03:33:18 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -45,12 +45,12 @@
 #include <sys/device.h>
 #include <sys/malloc.h>
 #include <sys/extent.h>
+#include <sys/bus.h>
 
 #include <uvm/uvm_extern.h>
 
-#include <sys/bus.h>
-#include <machine/cpu.h>
-#include <machine/pte.h>
+#include <mips/locore.h>
+#include <mips/pte.h>
 
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcireg.h>



Home | Main Index | Thread Index | Old Index