[PATCH 5/8] intel_mid_ssp_spi: Add chip definitions

From: Alan Cox
Date: Wed Feb 09 2011 - 05:37:41 EST


From: Alan Cox <alan@xxxxxxxxxxxxxxx>

The quirk tweaks so far are sufficient for us to support master mode on all
the devices. Put the PCI identifiers back. If they are in use for other
things the vendor bits will ensure the driver doesn't claim the wrong ones.

Add the missing MODULE tag so we can do autoloading

Based on previous generic driver work by Mathieu SOULARD
<mathieux.soulard@xxxxxxxxx>

Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
---

drivers/spi/intel_mid_ssp_spi.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/drivers/spi/intel_mid_ssp_spi.c b/drivers/spi/intel_mid_ssp_spi.c
index 6435adc..c8cd3bb 100644
--- a/drivers/spi/intel_mid_ssp_spi.c
+++ b/drivers/spi/intel_mid_ssp_spi.c
@@ -1574,9 +1574,14 @@ static const struct dev_pm_ops intel_mid_ssp_spi_pm = {
};

static const struct pci_device_id pci_ids[] __devinitdata = {
+ { PCI_VDEVICE(INTEL, 0x0815),
+ QUIRKS_PLATFORM_MRST | QUIRKS_BIT_BANGING },
{ PCI_VDEVICE(INTEL, 0x0816) },
+ { PCI_VDEVICE(INTEL, 0x0825) },
+ { PCI_VDEVICE(INTEL, 0x0832) },
{ }
};
+MODULE_DEVICE_TABLE(pci, pci_ids);

static struct pci_driver intel_mid_ssp_spi_driver = {
.driver = {

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/