diff mbox series

[2/2] dmaengine: ste_dma40: fix typo in enum documentation

Message ID 20230517064434.141091-2-vkoul@kernel.org (mailing list archive)
State Accepted
Commit 401f022cc5a2f0c521767d82c352d83aed944834
Headers show
Series [1/2] dmaengine: ste_dma40: use correct print specfier for resource_size_t | expand

Commit Message

Vinod Koul May 17, 2023, 6:44 a.m. UTC
s/40_command/d40_command to fix the below warning reported:

drivers/dma/ste_dma40.c:151: warning: expecting prototype for enum 40_command.
Prototype was for enum d40_command instead

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/dma/ste_dma40.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij May 17, 2023, 6:51 a.m. UTC | #1
On Wed, May 17, 2023 at 8:44 AM Vinod Koul <vkoul@kernel.org> wrote:

> s/40_command/d40_command to fix the below warning reported:
>
> drivers/dma/ste_dma40.c:151: warning: expecting prototype for enum 40_command.
> Prototype was for enum d40_command instead
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index 56c839241a53..2246a604256e 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -136,7 +136,7 @@  static const struct stedma40_chan_cfg dma40_memcpy_conf_log = {
 };
 
 /**
- * enum 40_command - The different commands and/or statuses.
+ * enum d40_command - The different commands and/or statuses.
  *
  * @D40_DMA_STOP: DMA channel command STOP or status STOPPED,
  * @D40_DMA_RUN: The DMA channel is RUNNING of the command RUN.