aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-12-02 04:55:39 +0000
committerWarner Losh <imp@FreeBSD.org>2025-12-02 04:58:07 +0000
commitbabb41a81e84ecb055992720f36a80e31260d372 (patch)
tree5763d3f931d3b1f9511bcf703c80b7592d123935
parent7b44ab1c6abe106a44604a8504edca0e57ec1c42 (diff)
nvme: Minor style nit
Sponsored by: Netflix
-rw-r--r--sys/dev/nvme/nvme.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 61e4aa8cb94b..b696cc6aa697 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -32,6 +32,7 @@
#include <sys/param.h>
#ifdef _KERNEL
#include <sys/systm.h>
+#include <sys/disk.h>
#else
#include <stdbool.h>
#endif
@@ -1907,8 +1908,6 @@ void nvme_sc_sbuf(const struct nvme_completion *cpl, struct sbuf *sbuf);
void nvme_strvis(uint8_t *dst, const uint8_t *src, int dstlen, int srclen);
#ifdef _KERNEL
-#include <sys/disk.h>
-
struct bio;
struct thread;