summary refs log tree commit diff
path: root/drivers/gpio/gpio-mockup.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-09-17 13:33:46 +0800
committerLinus Walleij <linus.walleij@linaro.org>2020-09-29 15:04:31 +0200
commit12d16b397ce0a999d13762c4c0cae2fb82eb60ee (patch)
treed30122a0929cba980d3cd338f2de1c74d70e0b4f /drivers/gpio/gpio-mockup.c
parent513034d8b089b9a49dab57845aee70e830fe7334 (diff)
downloadlinux-12d16b397ce0a999d13762c4c0cae2fb82eb60ee.tar.gz
gpio: mxc: Support module build
Change config to tristate, add module device table, module author,
description and license to support module build for i.MX GPIO driver.

As this is a SoC GPIO module, it provides common functions for most
of the peripheral devices, such as GPIO pins control, secondary
interrupt controller for GPIO pins IRQ etc., without GPIO driver, most
of the peripheral devices will NOT work properly, so GPIO module is
similar with clock, pinctrl driver that should be loaded ONCE and
never unloaded.

Since MXC GPIO driver needs to have init function to register syscore
ops once, here still use subsys_initcall(), NOT module_platform_driver().

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1600320829-1453-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mockup.c')
0 files changed, 0 insertions, 0 deletions