summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Lilliestierna XX <kim.xx.lilliestierna@stericsson.com>2010-11-30 09:11:22 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-08 08:35:29 -0800
commite83293233faf6e49870e7bfdcddf5374cb463d54 (patch)
tree54573fbe99dde63fbf2e3e9ceebf5d730b899537
parent4f58605e6b7ae30a0d048af6a868582768e6754c (diff)
downloadlinux-e83293233faf6e49870e7bfdcddf5374cb463d54.tar.gz
linux-e83293233faf6e49870e7bfdcddf5374cb463d54.tar.bz2
linux-e83293233faf6e49870e7bfdcddf5374cb463d54.zip
CAIF: Fix U5500 compile error for shared memory driver
Rearrange pr_fmt so it compiles. Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/caif/caif_shm_u5500.c2
-rw-r--r--drivers/net/caif/caif_shmcore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/caif/caif_shm_u5500.c b/drivers/net/caif/caif_shm_u5500.c
index 1cd90da86f13..32b1c6fb2de1 100644
--- a/drivers/net/caif/caif_shm_u5500.c
+++ b/drivers/net/caif/caif_shm_u5500.c
@@ -5,7 +5,7 @@
* License terms: GNU General Public License (GPL) version 2
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ":" __func__ "():" fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ":" fmt
#include <linux/version.h>
#include <linux/init.h>
diff --git a/drivers/net/caif/caif_shmcore.c b/drivers/net/caif/caif_shmcore.c
index 19f9c0656667..80511167f35b 100644
--- a/drivers/net/caif/caif_shmcore.c
+++ b/drivers/net/caif/caif_shmcore.c
@@ -6,7 +6,7 @@
* License terms: GNU General Public License (GPL) version 2
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ":" __func__ "():" fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ":" fmt
#include <linux/spinlock.h>
#include <linux/sched.h>