[PATCH 1/2] wd719x: Remove last declaration using DEFINE_PCI_DEVICE_TABLE

From: Joe Perches
Date: Wed Aug 31 2016 - 12:20:11 EST


Convert it to the preferred const struct pci_device_id instead.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/scsi/wd719x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/wd719x.c b/drivers/scsi/wd719x.c
index e3da1a2..2a9da2e 100644
--- a/drivers/scsi/wd719x.c
+++ b/drivers/scsi/wd719x.c
@@ -962,7 +962,7 @@ static void wd719x_pci_remove(struct pci_dev *pdev)
scsi_host_put(sh);
}

-static DEFINE_PCI_DEVICE_TABLE(wd719x_pci_table) = {
+static const struct pci_device_id wd719x_pci_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_WD, 0x3296) },
{}
};
--
2.10.0.rc2.1.gb2aa91d