aboutsummaryrefslogtreecommitdiff
path: root/hw/nvme/dif.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-06-22 12:21:30 +0200
committerKlaus Jensen <k.jensen@samsung.com>2022-03-03 09:28:48 +0100
commit05f7ae45c84f0df6934afea5013c333d269e2225 (patch)
tree9464bc3c94f455d039b466d401f7cbadb7713bbb /hw/nvme/dif.c
parent64ada298b98a51eb2512607f6e6180cb330c47b1 (diff)
hw/nvme: move dif/pi prototypes into dif.h
Move dif/pi data structures and inlines to dif.h. Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/nvme/dif.c')
-rw-r--r--hw/nvme/dif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nvme/dif.c b/hw/nvme/dif.c
index 5dbd18b2a4..cd0cea2b5e 100644
--- a/hw/nvme/dif.c
+++ b/hw/nvme/dif.c
@@ -13,6 +13,7 @@
#include "sysemu/block-backend.h"
#include "nvme.h"
+#include "dif.h"
#include "trace.h"
uint16_t nvme_check_prinfo(NvmeNamespace *ns, uint8_t prinfo, uint64_t slba,