drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
Subsystems (2)
PATCH 1/1 drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt No change in output strings.
Signed-off-by Joe Perches <[email protected]>
---
drivers/mtd/devices/phram.c +1 -1
@@ -15,7 +15,7 @@* phram=swap,64Mi,128Mi phram=test,900Mi,1Mi */ -#define pr_fmt (fmt) "phram: " fmt +#define pr_fmt (fmt) KBUILD_MODNAME ": " fmt#include <asm/io.h> #include <linux/init.h>
Artem Bityutskiy
AppliedQuoted 4 lines · Joe Perches
Use the more standard #define
pr_fmt(fmt)KBUILD_MODNAME": " fmt No change in output strings.Signed-off-by Joe Perches <[email protected]>
Pushed to l2-mtd-2.6.git, thanks.
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)
Quoted 7 lines · Artem Bityutskiy
Quoted 4 lines · Joe Perches
Use the more standard #define
pr_fmt(fmt)KBUILD_MODNAME": " fmt No change in output strings.Signed-off-by Joe Perches <[email protected]>Pushed to l2-mtd-2.6.git, thanks.
Fine with me. (aka Acked-By:)
Jörn
Signature · 2 lines
"Error protection by error detection and correction." -- from a university class