Skip to content

Commit

Permalink
ARM: 5876/1: ep93xx: use pr_fmt in dma-m2p.c
Browse files Browse the repository at this point in the history
Use pr_fmt to prefix kernel output with the module name.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Hartley Sweeten authored and Russell King committed Jan 12, 2010
1 parent 99acbb9 commit f3f1882
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arm/mach-ep93xx/dma-m2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;

Expand All @@ -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;
}
Expand Down

0 comments on commit f3f1882

Please sign in to comment.