aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/mac8390.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2010-01-09 23:00:32 -0800
committerDavid S. Miller <davem@davemloft.net>2010-01-09 23:00:32 -0800
commit51f5300682f5925a11edfddfd47ed47376871974 (patch)
tree13979b472f116fe2f13a3fa4896b68432bceee3c /drivers/net/mac8390.c
parent7f081d405adb5f905db11c6449319ab7c670722e (diff)
mac8390: Fix build breakage
commit 18c0019102228875cb0f6f252dad5148491e96b2 ("drivers/net/mac8390.c: Convert printk(KERN_<level> to pr_<level>(") broke the build: | drivers/net/mac8390.c:306: error: expected ')' before 'version' as "version" is not a string literal, but a variable. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mac8390.c')
-rw-r--r--drivers/net/mac8390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mac8390.c b/drivers/net/mac8390.c
index c70bd6888c8..a8768672dc5 100644
--- a/drivers/net/mac8390.c
+++ b/drivers/net/mac8390.c
@@ -303,7 +303,7 @@ static bool __init mac8390_init(struct net_device *dev, struct nubus_dev *ndev,
int offset;
volatile unsigned short *i;
- printk_once(KERN_INFO pr_fmt(version));
+ printk_once(KERN_INFO pr_fmt("%s"), version);
dev->irq = SLOT2IRQ(ndev->board->slot);
/* This is getting to be a habit */