diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-01-10 02:00:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-10 02:00:32 -0500 |
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, | |||
303 | int offset; | 303 | int offset; |
304 | volatile unsigned short *i; | 304 | volatile unsigned short *i; |
305 | 305 | ||
306 | printk_once(KERN_INFO pr_fmt(version)); | 306 | printk_once(KERN_INFO pr_fmt("%s"), version); |
307 | 307 | ||
308 | dev->irq = SLOT2IRQ(ndev->board->slot); | 308 | dev->irq = SLOT2IRQ(ndev->board->slot); |
309 | /* This is getting to be a habit */ | 309 | /* This is getting to be a habit */ |