summaryrefslogtreecommitdiffstats
path: root/drivers/staging/phison
diff options
context:
space:
mode:
authorJingoo Han2013-12-03 00:26:00 +0100
committerGreg Kroah-Hartman2013-12-03 07:32:35 +0100
commit41e043fcfa2236bb2c4a8335eb09f4c8cee224b3 (patch)
tree68e847050a8bfe041a326aefbad99347e977e9f1 /drivers/staging/phison
parentMerge v3.13-rc2 into staging-next (diff)
downloadkernel-qcow2-linux-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.tar.gz
kernel-qcow2-linux-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.tar.xz
kernel-qcow2-linux-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.zip
staging: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/phison')
-rw-r--r--drivers/staging/phison/phison.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/phison/phison.c b/drivers/staging/phison/phison.c
index 919cb95236fc..57fc27958797 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)
return ret;
}
-static DEFINE_PCI_DEVICE_TABLE(phison_pci_tbl) = {
+static const struct pci_device_id phison_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000),
PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 },
{ 0, },