Skip to contentSkip to conversation

wd719x-remove-last-declaration-using-define_pci_device_table.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 2, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE
has been removed from the -mm tree. Its filename was
wd719x-remove-last-declaration-using-define_pci_device_table.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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.

---

 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
diff -puN drivers/scsi/wd719x.c~wd719x-remove-last-declaration-using-define_pci_device_table drivers/scsi/wd719x.c
@@ -962,7 +962,7 @@ static void wd719x_pci_remove(struct pci
 	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) },
 	{}
 };

_

Patches currently in -mm which might be from [email protected] are

seq-proc-modify-seq_put_decimal_ll-to-take-a-const-char-not-char.patch meminfo-break-apart-a-very-long-seq_printf-with-ifdefs.patch spellingtxt-modeled-is-spelt-correctly.patch checkpatch-see-if-modified-files-are-marked-obsolete-in-maintainers.patch checkpatch-look-for-symbolic-permissions-and-suggest-octal-instead.patch checkpatch-test-multiple-line-block-comment-alignment.patch checkpatch-dont-test-for-prefer-ether_addr_foo.patch checkpatch-externalize-the-structs-that-should-be-const.patch const_structscheckpatch-add-frequently-used-from-julia-lawalls-list.patch checkpatch-speed-up-checking-for-filenames-in-sections-marked-obsolete.patch