lkml.org 
[lkml]   [2021]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 075/134] misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
    Date
    From: Aswath Govindraju <a-govindraju@ti.com>

    [ Upstream commit 4540b9fbd8ebb21bb3735796d300a1589ee5fbf2 ]

    Module alias "spi:93xx46" is used by non device tree users like
    drivers/misc/eeprom/digsy_mtc_eeprom.c and removing it will
    break support for them.

    Fix this by adding back the module alias "spi:93xx46".

    Fixes: 13613a2246bf ("misc: eeprom_93xx46: Fix module alias to enable module autoprobe")
    Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
    Link: https://lore.kernel.org/r/20210113051253.15061-1-a-govindraju@ti.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/misc/eeprom/eeprom_93xx46.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c
    index 275906b37eb89..d30deee1effda 100644
    --- a/drivers/misc/eeprom/eeprom_93xx46.c
    +++ b/drivers/misc/eeprom/eeprom_93xx46.c
    @@ -532,4 +532,5 @@ 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.27.0


    \
     
     \ /
      Last update: 2021-03-01 18:51    [W:4.152 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site