ethernet: realtek: use pci_device_id
authorVarka Bhadram <varkab@cdac.in>
Wed, 23 Jul 2014 03:49:49 +0000 (09:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 21:56:40 +0000 (14:56 -0700)
commit96b3bff4c94cebc97726dc7f019cfc7ba3ced2e1
treeb44df25409d3ae7041772b1569011c8dedcb9fc6
parent5490c27218b8b8ea7b9fd7320587f5e65c027a6f
ethernet: realtek: use pci_device_id

This patch use the struct pci_device_id instead of using macro
DEFINE_PCI_DEVICE_TABLE which is deprecated and should not be used.
And also moves these ids after probe and remove functionalities.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c