diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-01-09 23:00:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-09 23:00:32 -0800 |
commit | 51f5300682f5925a11edfddfd47ed47376871974 (patch) | |
tree | 13979b472f116fe2f13a3fa4896b68432bceee3c /drivers/net/mac8390.c | |
parent | 7f081d405adb5f905db11c6449319ab7c670722e (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mac8390.c b/drivers/net/mac8390.c index c70bd6888c89..a8768672dc5a 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 */ |