diff mbox

dmaengine: bcm2835: fix typo in legacy-mode warning message

Message ID 1461230641-20317-1-git-send-email-kernel@martin.sperl.org (mailing list archive)
State New, archived
Headers show

Commit Message

Martin Sperl April 21, 2016, 9:24 a.m. UTC
From: Martin Sperl <kernel@martin.sperl.org>

Fix typo in warning message that there is no "interrupt-names"
property defined in the device-tree and legacy-mode is used.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/dma/bcm2835-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefan Wahren April 21, 2016, 3:20 p.m. UTC | #1
Hi Martin,

Am 21.04.2016 um 11:24 schrieb kernel@martin.sperl.org:
> From: Martin Sperl <kernel@martin.sperl.org>
>
> Fix typo in warning message that there is no "interrupt-names"
> property defined in the device-tree and legacy-mode is used.
>
> Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
>  drivers/dma/bcm2835-dma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
> index 9740151..d724393 100644
> --- a/drivers/dma/bcm2835-dma.c
> +++ b/drivers/dma/bcm2835-dma.c
> @@ -974,7 +974,7 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
>  
>  		/* legacy device tree case handling */
>  		dev_warn_once(&pdev->dev,
> -			      "missing interrupts-names property in device tree - legacy interpretation is used");
> +			      "missing interrupt-names property in device tree - legacy interpretation is used");

does it also misses a newline at the end?

>  		/*
>  		 * in case of channel >= 11
>  		 * use the 11th interrupt and that is shared
diff mbox

Patch

diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
index 9740151..d724393 100644
--- a/drivers/dma/bcm2835-dma.c
+++ b/drivers/dma/bcm2835-dma.c
@@ -974,7 +974,7 @@  static int bcm2835_dma_probe(struct platform_device *pdev)
 
 		/* legacy device tree case handling */
 		dev_warn_once(&pdev->dev,
-			      "missing interrupts-names property in device tree - legacy interpretation is used");
+			      "missing interrupt-names property in device tree - legacy interpretation is used");
 		/*
 		 * in case of channel >= 11
 		 * use the 11th interrupt and that is shared