Module Name:    src
Committed By:   pgoyette
Date:           Fri Sep 16 23:20:31 UTC 2016

Modified Files:
        src/sys/dev/pci: nvme_pci.c

Log Message:
We need sys/module.h for built-in modules as well as for the .kmod so
#include it unconditionally.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/nvme_pci.c

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/nvme_pci.c
diff -u src/sys/dev/pci/nvme_pci.c:1.6 src/sys/dev/pci/nvme_pci.c:1.7
--- src/sys/dev/pci/nvme_pci.c:1.6	Fri Sep 16 11:35:07 2016
+++ src/sys/dev/pci/nvme_pci.c	Fri Sep 16 23:20:31 2016
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v
 #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>

Reply via email to