Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: phison: use DEFINE_PCI_DEVICE_TABLE

Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Namhyung Kim and committed by
Greg Kroah-Hartman
abb9eb75 270b64bb

+1 -1
+1 -1
drivers/staging/phison/phison.c
··· 69 69 return ret; 70 70 } 71 71 72 - static const struct pci_device_id phison_pci_tbl[] = { 72 + static DEFINE_PCI_DEVICE_TABLE(phison_pci_tbl) = { 73 73 { PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000, PCI_ANY_ID, PCI_ANY_ID, 74 74 PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 }, 75 75 { 0, },