diff options
author | Joe Perches <joe@perches.com> | 2010-10-20 10:39:22 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-25 01:36:36 +0100 |
commit | 1cd844fe43cb6464b34dea504930c1a15e4ad38d (patch) | |
tree | 9ca1b00273c7a3c166030389c2daf1f5e60f0996 | |
parent | 2316d3bc95ff65b7c0c40c70db83455912cf0328 (diff) | |
download | op-kernel-dev-1cd844fe43cb6464b34dea504930c1a15e4ad38d.zip op-kernel-dev-1cd844fe43cb6464b34dea504930c1a15e4ad38d.tar.gz |
mtd: phram: use KBUILD_MODNAME
Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
No change in output strings.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | drivers/mtd/devices/phram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c index 1696bbe..5239328 100644 --- a/drivers/mtd/devices/phram.c +++ b/drivers/mtd/devices/phram.c @@ -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> |