lkml.org 
[lkml]   [2021]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.13 736/800] extcon: max8997: Add missing modalias string
    Date
    From: Marek Szyprowski <m.szyprowski@samsung.com>

    [ Upstream commit dc11fc2991e9efbceef93912b83e333d2835fb19 ]

    The platform device driver name is "max8997-muic", so advertise it
    properly in the modalias string. This fixes automated module loading when
    this driver is compiled as a module.

    Fixes: b76668ba8a77 ("Extcon: add MAX8997 extcon driver")
    Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
    Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/extcon/extcon-max8997.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
    index c15a612067af..5c3cdb725514 100644
    --- a/drivers/extcon/extcon-max8997.c
    +++ b/drivers/extcon/extcon-max8997.c
    @@ -788,3 +788,4 @@ module_platform_driver(max8997_muic_driver);
    MODULE_DESCRIPTION("Maxim MAX8997 Extcon driver");
    MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>");
    MODULE_LICENSE("GPL");
    +MODULE_ALIAS("platform:max8997-muic");
    --
    2.30.2


    \
     
     \ /
      Last update: 2021-07-12 11:05    [W:4.015 / U:0.548 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site