drivers/net: Convert remaining uses of pr_warning to pr_warn
[cascardo/linux.git] / drivers / net / ethernet / sun / niu.c
index db8ffde..904fd1a 100644 (file)
@@ -59,7 +59,7 @@ static void writeq(u64 val, void __iomem *reg)
 }
 #endif
 
-static DEFINE_PCI_DEVICE_TABLE(niu_pci_tbl) = {
+static const struct pci_device_id niu_pci_tbl[] = {
        {PCI_DEVICE(PCI_VENDOR_ID_SUN, 0xabcd)},
        {}
 };
@@ -8717,8 +8717,8 @@ static void niu_divide_channels(struct niu_parent *parent,
                        parent->txchan_per_port[i] = 1;
        }
        if (tot_rx < NIU_NUM_RXCHAN || tot_tx < NIU_NUM_TXCHAN) {
-               pr_warning("niu%d: Driver bug, wasted channels, RX[%d] TX[%d]\n",
-                          parent->index, tot_rx, tot_tx);
+               pr_warn("niu%d: Driver bug, wasted channels, RX[%d] TX[%d]\n",
+                       parent->index, tot_rx, tot_tx);
        }
 }