diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-09 11:40:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 19:29:48 -0500 |
commit | abb9eb75a34cbd34ee4e9160ac349eff91b926d8 (patch) | |
tree | 795ee9d7778be8441f32a30a5aec74563d007ee4 /drivers/staging/phison | |
parent | 270b64bb4cf27a2ad7819bad89d8c9d8a66ba1b8 (diff) |
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>
Diffstat (limited to 'drivers/staging/phison')
-rw-r--r-- | drivers/staging/phison/phison.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/phison/phison.c b/drivers/staging/phison/phison.c index 677152044f4..683657cb21f 100644 --- a/drivers/staging/phison/phison.c +++ b/drivers/staging/phison/phison.c | |||
@@ -69,7 +69,7 @@ static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
69 | return ret; | 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 | { PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000, PCI_ANY_ID, PCI_ANY_ID, | 73 | { PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000, PCI_ANY_ID, PCI_ANY_ID, |
74 | PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 }, | 74 | PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 }, |
75 | { 0, }, | 75 | { 0, }, |