• Paul Gortmaker's avatar
    Revert "pinctrl: amd: make it explicitly non-modular" · b9416498
    Paul Gortmaker authored
    This reverts commit b8c2b10a.
    
    This patch was in my queue at the same time that a conversion of
    the same driver from bool --> tristate was pending and merged.
    
    That is commit 337ea0fb ("pinctrl: Turn AMD support to tristate")
    
    Normally the conflict would show up in the build coverage I do,
    however in this case an avoidable instance of linux/module.h in
    linux/gpio/driver.h (!) causes the build failure to be masked and
    instead the tristate gets built-in even for selected "=m".
    
    In working on removing module.h from driver.h this issue was then
    revealed (along with other implicit module.h assumptions in gpio,
    and mfd -- which will be fixed separately.)
    
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Acked-by: default avatarJean Delvare <jdelvare@suse.de>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    b9416498
pinctrl-amd.c 22.1 KB