From: Namhyung Kim Date: Thu, 9 Dec 2010 16:40:28 +0000 (+0900) Subject: Staging: phison: use DEFINE_PCI_DEVICE_TABLE X-Git-Tag: MMI-PSA29.97-13-9~21393^2~77 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abb9eb75a34cbd34ee4e9160ac349eff91b926d8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/phison/phison.c b/drivers/staging/phison/phison.c index 677152044f45..683657cb21f5 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 const struct pci_device_id phison_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(phison_pci_tbl) = { { PCI_VENDOR_ID_PHISON, PCI_DEVICE_ID_PS5000, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_IDE << 8, 0xffff00, 0 }, { 0, },