]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mb86s7x: share with other SoCs as module
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 27 Oct 2017 20:21:47 +0000 (21:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 31 Oct 2017 12:11:38 +0000 (13:11 +0100)
commit97b87789c65f2dfefd4df9aa8c41927671bd0bec
tree159add0401520544411252a2d1da5b13f99173c0
parent99d3bcb179ce1d435db69cc352af965b53c45c65
gpio: mb86s7x: share with other SoCs as module

In order to reuse this driver for the Socionext Synquacer SC2A11 SoC,
which inherited this IP from Fujitsu, remove the ARCH_MB86S7X Kconfig
dependency, and revert the changes that prevent it from being built as
a module.

This reverts commits 81351a5686a6cb4600f69332dfd7e6e4620c8b17 and
a74adc740442b6d36c60f89e5185c59ed039d4b5.

Cc: Geliang Tang <geliangtang@gmail.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
[Folded in module_platform_driver() fixup]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-mb86s7x.c