Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci include <sys/device_if.h> for device_t. There is...
details: https://anonhg.NetBSD.org/src/rev/fc069776e6de
branches: trunk
changeset: 749028:fc069776e6de
user: cegger <cegger%NetBSD.org@localhost>
date: Sat Nov 14 09:42:50 2009 +0000
description:
include <sys/device_if.h> for device_t. There is no use of struct device.
diffstat:
sys/dev/pci/pciidevar.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r a528415cf9da -r fc069776e6de sys/dev/pci/pciidevar.h
--- a/sys/dev/pci/pciidevar.h Sat Nov 14 09:19:41 2009 +0000
+++ b/sys/dev/pci/pciidevar.h Sat Nov 14 09:42:50 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index