[PATCH V2] dmaengine: bcm2835: fix typo/added newline in legacy-mode warning message

kernel at martin.sperl.org kernel at martin.sperl.org
Fri Apr 22 00:12:48 PDT 2016


From: Martin Sperl <kernel at 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.

Also added newline to end of message.

Signed-off-by: Martin Sperl <kernel at martin.sperl.org>
Reported-by: Geert Uytterhoeven <geert at 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..6149b27 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\n");
 		/*
 		 * in case of channel >= 11
 		 * use the 11th interrupt and that is shared
-- 
2.1.4




More information about the linux-rpi-kernel mailing list