summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx-pci.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-15 08:11:25 +0800
committerGrant Likely <grant.likely@secretlab.ca>2012-03-09 15:33:15 -0700
commite290cf276bc2a6cdcb360fd72b7a6a24539505fc (patch)
tree3bf1e2faedfe7336530c10251d2abe85a3cb949a /drivers/spi/spi-pxa2xx-pci.c
parentb42dfed83d95a3c9e9cbd708f1993a7474abb79a (diff)
downloadlinux-stable-e290cf276bc2a6cdcb360fd72b7a6a24539505fc.tar.gz
linux-stable-e290cf276bc2a6cdcb360fd72b7a6a24539505fc.tar.bz2
linux-stable-e290cf276bc2a6cdcb360fd72b7a6a24539505fc.zip
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>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-pci.c')
-rw-r--r--drivers/spi/spi-pxa2xx-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c
index 8caa07d58e69..3fb44afe27b4 100644
--- a/drivers/spi/spi-pxa2xx-pci.c
+++ b/drivers/spi/spi-pxa2xx-pci.c
@@ -151,7 +151,7 @@ static void __devexit ce4100_spi_remove(struct pci_dev *dev)
kfree(spi_info);
}
-static struct pci_device_id ce4100_spi_devices[] __devinitdata = {
+static DEFINE_PCI_DEVICE_TABLE(ce4100_spi_devices) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2e6a) },
{ },
};