Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3f1882c authored by Hartley Sweeten's avatar Hartley Sweeten Committed by Russell King
Browse files

ARM: 5876/1: ep93xx: use pr_fmt in dma-m2p.c



Use pr_fmt to prefix kernel output with the module name.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 99acbb90
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@
 * with this implementation.
 */

#define pr_fmt(fmt) "ep93xx " KBUILD_MODNAME ": " fmt

#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/err.h>
@@ -173,7 +175,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)

	switch (m2p_channel_state(ch)) {
	case STATE_IDLE:
		pr_crit("m2p_irq: dma interrupt without a dma buffer\n");
		pr_crit("dma interrupt without a dma buffer\n");
		BUG();
		break;

@@ -197,7 +199,7 @@ static irqreturn_t m2p_irq(int irq, void *dev_id)
		break;

	case STATE_NEXT:
		pr_crit("m2p_irq: dma interrupt while next\n");
		pr_crit("dma interrupt while next\n");
		BUG();
		break;
	}