drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE
PATCH 7/14 drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE
From: Joe Perches <[email protected]>
Subject: drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE
Convert it to the preferred const struct pci_device_id instead.
Link http://lkml.kernel.org/r/95c5e4100c3cd4eda643624f5b70e8d7abceb86c.1472660229.git.joe@perches.com open here
Signed-off-by Joe Perches <[email protected]>
Reviewed-by Bart Van Assche <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/wd719x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/wd719x.c renamed from drivers/scsi/wd719x.c~wd719x-remove-last-declaration-using-define_pci_device_table +1 -1
@@ -962,7 +962,7 @@ static void wd719x_pci_remove(struct pciscsi_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 ) }, {} };
_