projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41f36a
)
spi: dw-pci: Add MODULE_DEVICE_TABLE
author
Jarkko Nikula
<jarkko.nikula@linux.intel.com>
Thu, 29 Aug 2019 12:50:00 +0000
(15:50 +0300)
committer
Mark Brown
<broonie@kernel.org>
Fri, 30 Aug 2019 11:40:57 +0000
(12:40 +0100)
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>
drivers/spi/spi-dw-pci.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-dw-pci.c
b/drivers/spi/spi-dw-pci.c
index
e9ba638
..
90e7b78
100644
(file)
--- 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,