Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Aswath Govindraju <> | Subject | [PATCH 1/2] misc: eeprom_93xx46: Fix module alias to enable module autoprobe | Date | Thu, 7 Jan 2021 22:09:53 +0530 |
| |
Fix module autoprobe by correcting module alias to match the string from /sys/class/.../spi1.0/modalias content.
Fixes: 06b4501e88ad ("misc/eeprom: add driver for microwire 93xx46 EEPROMs") Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c index a18247696ce7..890624d97774 100644 --- a/drivers/misc/eeprom/eeprom_93xx46.c +++ b/drivers/misc/eeprom/eeprom_93xx46.c @@ -526,4 +526,4 @@ module_spi_driver(eeprom_93xx46_driver); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Driver for 93xx46 EEPROMs"); MODULE_AUTHOR("Anatolij Gustschin <agust@denx.de>"); -MODULE_ALIAS("spi:93xx46"); +MODULE_ALIAS("spi:eeprom-93xx46"); -- 2.17.1
| ![\](/images/icornerr.gif) |