Module Name:    src
Committed By:   cegger
Date:           Sat Nov 14 09:42:50 UTC 2009

Modified Files:
        src/sys/dev/pci: pciidevar.h

Log Message:
include <sys/device_if.h> for device_t. There is no use of struct device.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/pciidevar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/pciidevar.h
diff -u src/sys/dev/pci/pciidevar.h:1.39 src/sys/dev/pci/pciidevar.h:1.40
--- src/sys/dev/pci/pciidevar.h:1.39	Mon Oct  5 20:03:47 2009
+++ src/sys/dev/pci/pciidevar.h	Sat Nov 14 09:42:50 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pciidevar.h,v 1.39 2009/10/05 20:03:47 dyoung Exp $	*/
+/*	$NetBSD: pciidevar.h,v 1.40 2009/11/14 09:42:50 cegger Exp $	*/
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -42,6 +42,7 @@
 #include <dev/ata/atavar.h>
 #include <dev/ic/wdcreg.h>
 #include <dev/ic/wdcvar.h>
+#include <sys/device_if.h>
 #include "opt_pciide.h"
 
 /* options passed via the 'flags' config keyword */
@@ -64,8 +65,6 @@
 #define ATADEBUG_PRINT(args, level)
 #endif
 
-struct device;
-
 /*
  * While standard PCI IDE controllers only have 2 channels, it is
  * common for PCI SATA controllers to have more.  Here we define

Reply via email to