lkml.org 
[lkml]   [2021]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.12 029/160] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
    Date
    From: Bixuan Cui <cuibixuan@huawei.com>

    [ Upstream commit d7f444499d6faf9a6ae3b27ec094109528d2b9a7 ]

    This patch adds missing MODULE_DEVICE_TABLE definition which generates
    correct modalias for automatic loading of this driver when it is built
    as an external module.

    Reported-by: Hulk Robot <hulkci@huawei.com>
    Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
    Link: https://lore.kernel.org/r/20210508031502.53637-1-cuibixuan@huawei.com
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/pinctrl/pinctrl-equilibrium.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/pinctrl/pinctrl-equilibrium.c b/drivers/pinctrl/pinctrl-equilibrium.c
    index 067271b7d35a..ac1c47f542c1 100644
    --- a/drivers/pinctrl/pinctrl-equilibrium.c
    +++ b/drivers/pinctrl/pinctrl-equilibrium.c
    @@ -929,6 +929,7 @@ static const struct of_device_id eqbr_pinctrl_dt_match[] = {
    { .compatible = "intel,lgm-io" },
    {}
    };
    +MODULE_DEVICE_TABLE(of, eqbr_pinctrl_dt_match);

    static struct platform_driver eqbr_pinctrl_driver = {
    .probe = eqbr_pinctrl_probe,
    --
    2.30.2
    \
     
     \ /
      Last update: 2021-07-06 13:40    [W:7.254 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site