diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-09-17 07:33:46 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-09-29 15:04:31 +0200 |
commit | 12d16b397ce0a999d13762c4c0cae2fb82eb60ee (patch) | |
tree | d30122a0929cba980d3cd338f2de1c74d70e0b4f /drivers/gpio/gpio-em.c | |
parent | pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB (diff) | |
download | linux-12d16b397ce0a999d13762c4c0cae2fb82eb60ee.tar.xz linux-12d16b397ce0a999d13762c4c0cae2fb82eb60ee.zip |
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-em.c')
0 files changed, 0 insertions, 0 deletions