• Daniel Kurtz's avatar
    pinctrl: mediatek: convert to arch_initcall · 6c741c74
    Daniel Kurtz authored
    Move pinctrl initialization earlier in boot so that real devices can find
    their pctldev without probe deferring.
    
    Note: We don't change mt6397 probe order in this patch, since MT6397 is mfd
    PMIC, which depends on pwrap on main AP to work. Since pmic-wrap itself
    is module_platform_driver, we keep it as module_init.  A later patch
    will convert both pmic-wrap, and all functions of the MT6397 mfd to
    arch_initcall.
    Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    6c741c74
pinctrl-mt8173.c 14.7 KB