From 8632afe72ca21b79d0dc91384456b04d31190760 Mon Sep 17 00:00:00 2001 From: John Kariuki Date: Mon, 13 May 2019 09:50:43 -0700 Subject: [PATCH] doc: fix location of SPDK_BDEV_MODULE_REGISTER macro Change-Id: Iabea90884f105af495ff0033da6973737babb350 Signed-off-by: John Kariuki Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454365 Tested-by: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Ben Walker --- doc/bdev_module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bdev_module.md b/doc/bdev_module.md index 6ada6bd0de..f6c5392cc0 100644 --- a/doc/bdev_module.md +++ b/doc/bdev_module.md @@ -25,7 +25,7 @@ module, add a new directory with a single C file and a Makefile. A great starting point is to copy the existing 'null' bdev module. The primary interface that bdev modules will interact with is in -include/spdk_internal/bdev.h. In that header a macro is defined that registers +include/spdk/bdev_module.h. In that header a macro is defined that registers a new bdev module - SPDK_BDEV_MODULE_REGISTER. This macro take as argument a pointer spdk_bdev_module structure that is used to register new bdev module.