habanalabs: Fix kernel-doc

Fix the following W=1 kernel warnings:

drivers/misc/habanalabs/common/mmu/mmu_v1.c:425: warning: expecting
prototype for hl_mmu_fini(). Prototype was for hl_mmu_v1_fini() instead.

drivers/misc/habanalabs/common/mmu/mmu_v1.c:449: warning: expecting
prototype for hl_mmu_ctx_init(). Prototype was for hl_mmu_v1_ctx_init()
instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
Jiapeng Chong 2022-06-02 11:58:27 +08:00 committed by Oded Gabbay
parent 858e6d4085
commit 18b6731538
1 changed files with 2 additions and 2 deletions

View File

@ -412,7 +412,7 @@ err_pool_add:
}
/**
* hl_mmu_fini() - release the MMU module.
* hl_mmu_v1_fini() - release the MMU module.
* @hdev: habanalabs device structure.
*
* This function does the following:
@ -438,7 +438,7 @@ static void hl_mmu_v1_fini(struct hl_device *hdev)
}
/**
* hl_mmu_ctx_init() - initialize a context for using the MMU module.
* hl_mmu_v1_ctx_init() - initialize a context for using the MMU module.
* @ctx: pointer to the context structure to initialize.
*
* Initialize a mutex to protect the concurrent mapping flow, a hash to hold all