Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci We need sys/module.h for built-in modules as wel...
details: https://anonhg.NetBSD.org/src/rev/1d63bcccff6a
branches: trunk
changeset: 347801:1d63bcccff6a
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Sep 16 23:20:31 2016 +0000
description:
We need sys/module.h for built-in modules as well as for the .kmod so
#include it unconditionally.
diffstat:
sys/dev/pci/nvme_pci.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 32bb193e8e39 -r 1d63bcccff6a sys/dev/pci/nvme_pci.c
--- a/sys/dev/pci/nvme_pci.c Fri Sep 16 23:01:53 2016 +0000
+++ b/sys/dev/pci/nvme_pci.c Fri Sep 16 23:20:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvme_pci.c,v 1.6 2016/09/16 11:35:07 jdolecek Exp $ */
+/* $NetBSD: nvme_pci.c,v 1.7 2016/09/16 23:20:31 pgoyette Exp $ */
/* $OpenBSD: nvme_pci.c,v 1.3 2016/04/14 11:18:32 dlg Exp $ */
/*
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.6 2016/09/16 11:35:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.7 2016/09/16 23:20:31 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -55,9 +55,7 @@
#include <sys/interrupt.h>
#include <sys/kmem.h>
#include <sys/pmf.h>
-#ifdef _MODULE
#include <sys/module.h>
-#endif
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
Home |
Main Index |
Thread Index |
Old Index