summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Weber <weber@corscience.de>2009-12-09 09:38:04 +0100
committerBen Warren <biggerbadderben@gmail.com>2009-12-13 21:57:01 -0800
commit076cd24cb4278c125c8f36df386852dc0fcfefae (patch)
tree11115e6fa51b973085e755c9ea6491ca94c6bd6b /drivers
parentc179a2896e6a5138e30786f1d7961d880dbd6d31 (diff)
downloadu-boot-imx-076cd24cb4278c125c8f36df386852dc0fcfefae.zip
u-boot-imx-076cd24cb4278c125c8f36df386852dc0fcfefae.tar.gz
u-boot-imx-076cd24cb4278c125c8f36df386852dc0fcfefae.tar.bz2
net: dm9000x: fix debug output
commit 60f61e6d7655400bb785a2ef637581679941f6d1 breaks compile with gcc by introducing __func__ instead of constant string "func" in the macro call but missed to change the macro. Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dm9000x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
index 73dd335..a7fef56 100644
--- a/drivers/net/dm9000x.c
+++ b/drivers/net/dm9000x.c
@@ -75,7 +75,7 @@ TODO: external MII is not functional, only internal at the moment.
#define DM9000_DMP_PACKET(func,packet,length) \
do { \
int i; \
- printf(func ": length: %d\n", length); \
+ printf("%s: length: %d\n", func, length); \
for (i = 0; i < length; i++) { \
if (i % 8 == 0) \
printf("\n%s: %02x: ", func, i); \