spi: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE tables. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
@@ -149,7 +149,7 @@ static int spi_resume(struct pci_dev *pdev)
|
||||
#define spi_resume NULL
|
||||
#endif
|
||||
|
||||
static const struct pci_device_id pci_ids[] __devinitdata = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(pci_ids) = {
|
||||
/* Intel MID platform SPI controller 0 */
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0800) },
|
||||
{},
|
||||
|
Reference in New Issue
Block a user