projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9896a19
)
mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE
author
Charles Keepax
<ckeepax@opensource.cirrus.com>
Thu, 23 Mar 2023 13:41:38 +0000
(13:41 +0000)
committer
Lee Jones
<lee@kernel.org>
Wed, 26 Apr 2023 10:40:33 +0000
(11:40 +0100)
This patch adds missing MODULE_DEVICE_TABLE definition
which generates correct modalias for automatic loading
of this driver when it is built as a module.
Fixes:
3f65555c417c
("mfd: arizona: Split of_match table into I2C and SPI versions")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link:
https://lore.kernel.org/r/20230323134138.834369-1-ckeepax@opensource.cirrus.com
drivers/mfd/arizona-spi.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/arizona-spi.c
b/drivers/mfd/arizona-spi.c
index
da05b96
..
02cf4f3
100644
(file)
--- a/
drivers/mfd/arizona-spi.c
+++ b/
drivers/mfd/arizona-spi.c
@@
-277,6
+277,7
@@
static const struct of_device_id arizona_spi_of_match[] = {
{ .compatible = "cirrus,cs47l24", .data = (void *)CS47L24 },
{},
};
+MODULE_DEVICE_TABLE(of, arizona_spi_of_match);
#endif
static struct spi_driver arizona_spi_driver = {