summaryrefslogtreecommitdiffstats
path: root/drivers/net/arcnet/com20020-pci.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-05 19:05:55 +0200
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2015-09-23 08:44:24 +0200
commita34c0932c3b2f28542825ffc5280d562c49ad42d (patch)
tree2fd465fe1c93b7ea866af66847c7167f81bff47a /drivers/net/arcnet/com20020-pci.c
parentarcnet: Expand odd BUGLVL macro with if and uses (diff)
downloadlinux-a34c0932c3b2f28542825ffc5280d562c49ad42d.tar.xz
linux-a34c0932c3b2f28542825ffc5280d562c49ad42d.zip
arcnet: Convert BUGMSG and BUGMSG2 to arc_prink and arc_cont
These macros don't actually represent BUG uses but are more commonly used as logging macros, so use a more kernel style macro. Convert the BUGMSG from a netdev_ like use to actually use netdev_<level>. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/com20020-pci.c')
-rw-r--r--drivers/net/arcnet/com20020-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c
index c8184de4480d..0d0cc6a9c618 100644
--- a/drivers/net/arcnet/com20020-pci.c
+++ b/drivers/net/arcnet/com20020-pci.c
@@ -99,7 +99,7 @@ static int com20020pci_probe(struct pci_dev *pdev, const struct pci_device_id *i
lp = netdev_priv(dev);
- BUGMSG(D_NORMAL, "%s Controls\n", ci->name);
+ arc_printk(D_NORMAL, dev, "%s Controls\n", ci->name);
ioaddr = pci_resource_start(pdev, cm->bar) + cm->offset;
r = devm_request_region(&pdev->dev, ioaddr, cm->size,