Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE

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

authored by

Charles Keepax and committed by
Lee Jones
972c91fd 9896a19c

+1
+1
drivers/mfd/arizona-spi.c
··· 277 277 { .compatible = "cirrus,cs47l24", .data = (void *)CS47L24 }, 278 278 {}, 279 279 }; 280 + MODULE_DEVICE_TABLE(of, arizona_spi_of_match); 280 281 #endif 281 282 282 283 static struct spi_driver arizona_spi_driver = {