Skip to content

Commit

Permalink
mac8390: Fix build breakage
Browse files Browse the repository at this point in the history
commit 18c0019 ("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>
  • Loading branch information
Geert Uytterhoeven authored and David S. Miller committed Jan 10, 2010
1 parent 7f081d4 commit 51f5300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/mac8390.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 51f5300

Please sign in to comment.