Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic #include <sys/bus.h> instead of <machine/bus.h>. ...



details:   https://anonhg.NetBSD.org/src/rev/feb6df145f55
branches:  trunk
changeset: 754020:feb6df145f55
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Apr 16 18:58:39 2010 +0000

description:
#include <sys/bus.h> instead of <machine/bus.h>.  No functional change
intended.

diffstat:

 sys/dev/ic/bwi.c     |  8 ++++----
 sys/dev/ic/cs4231.c  |  6 +++---
 sys/dev/ic/pcf8584.c |  5 ++---
 3 files changed, 9 insertions(+), 10 deletions(-)

diffs (77 lines):

diff -r a094bed395b3 -r feb6df145f55 sys/dev/ic/bwi.c
--- a/sys/dev/ic/bwi.c  Fri Apr 16 14:05:32 2010 +0000
+++ b/sys/dev/ic/bwi.c  Fri Apr 16 18:58:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bwi.c,v 1.15 2010/04/05 07:19:33 joerg Exp $   */
+/*     $NetBSD: bwi.c,v 1.16 2010/04/16 18:59:51 dyoung Exp $  */
 /*     $OpenBSD: bwi.c,v 1.74 2008/02/25 21:13:30 mglocker Exp $       */
 
 /*
@@ -48,7 +48,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwi.c,v 1.15 2010/04/05 07:19:33 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwi.c,v 1.16 2010/04/16 18:59:51 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/callout.h>
@@ -60,8 +60,8 @@
 #include <sys/sockio.h>
 #include <sys/sysctl.h>
 #include <sys/systm.h>
-
-#include <machine/bus.h>
+#include <sys/bus.h>
+
 #include <machine/endian.h>
 
 #include <dev/firmload.h>
diff -r a094bed395b3 -r feb6df145f55 sys/dev/ic/cs4231.c
--- a/sys/dev/ic/cs4231.c       Fri Apr 16 14:05:32 2010 +0000
+++ b/sys/dev/ic/cs4231.c       Fri Apr 16 18:58:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cs4231.c,v 1.24 2010/01/14 02:21:19 macallan Exp $     */
+/*     $NetBSD: cs4231.c,v 1.25 2010/04/16 18:59:12 dyoung Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs4231.c,v 1.24 2010/01/14 02:21:19 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs4231.c,v 1.25 2010/04/16 18:59:12 dyoung Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -40,9 +40,9 @@
 #include <sys/errno.h>
 #include <sys/device.h>
 #include <sys/malloc.h>
+#include <sys/bus.h>
 
 #include <machine/autoconf.h>
-#include <machine/bus.h>
 #include <sys/cpu.h>
 
 #include <sys/audioio.h>
diff -r a094bed395b3 -r feb6df145f55 sys/dev/ic/pcf8584.c
--- a/sys/dev/ic/pcf8584.c      Fri Apr 16 14:05:32 2010 +0000
+++ b/sys/dev/ic/pcf8584.c      Fri Apr 16 18:58:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcf8584.c,v 1.8 2010/03/31 21:01:03 macallan Exp $     */
+/*     $NetBSD: pcf8584.c,v 1.9 2010/04/16 18:58:39 dyoung Exp $       */
 /*     $OpenBSD: pcf8584.c,v 1.9 2007/10/20 18:46:21 kettenis Exp $ */
 
 /*
@@ -24,8 +24,7 @@
 #include <sys/kernel.h>
 #include <sys/rwlock.h>
 #include <sys/proc.h>
-
-#include <machine/bus.h>
+#include <sys/bus.h>
 
 #include <dev/i2c/i2cvar.h>
 



Home | Main Index | Thread Index | Old Index