doc: fix location of SPDK_BDEV_MODULE_REGISTER macro

Change-Id: Iabea90884f105af495ff0033da6973737babb350
Signed-off-by: John Kariuki <John.K.Kariuki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454365
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
John Kariuki 2019-05-13 09:50:43 -07:00 committed by Jim Harris
parent 5238a36bca
commit 8632afe72c

View File

@ -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. starting point is to copy the existing 'null' bdev module.
The primary interface that bdev modules will interact with is in 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 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. pointer spdk_bdev_module structure that is used to register new bdev module.