diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2019-08-29 15:50:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-30 12:40:57 +0100 |
commit | 94e9c0f522142e47348486f98916cb0b16e72571 (patch) | |
tree | 2f401234543f666ef9f2263fdb80c0f2dc5f627a /drivers/spi/spi-dw-pci.c | |
parent | d41f36a6464a85c06ad920703d878e4491d2c023 (diff) | |
download | lwn-94e9c0f522142e47348486f98916cb0b16e72571.tar.gz lwn-94e9c0f522142e47348486f98916cb0b16e72571.zip |
spi: dw-pci: Add MODULE_DEVICE_TABLE
MODULE_DEVICE_TABLE is missing from the PCI part of the driver. Add it
so userspace can autoload the the driver when it is built as module.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20190829125000.26303-1-jarkko.nikula@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-pci.c')
-rw-r--r-- | drivers/spi/spi-dw-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-dw-pci.c b/drivers/spi/spi-dw-pci.c index e9ba63814548..90e7b789da3b 100644 --- a/drivers/spi/spi-dw-pci.c +++ b/drivers/spi/spi-dw-pci.c @@ -140,6 +140,7 @@ static const struct pci_device_id pci_ids[] = { { PCI_VDEVICE(INTEL, 0x4b87), (kernel_ulong_t)&spi_pci_ehl_desc}, {}, }; +MODULE_DEVICE_TABLE(pci, pci_ids); static struct pci_driver dw_spi_driver = { .name = DRIVER_NAME, |