diff options
author | Marek Vasut <marex@denx.de> | 2025-01-24 15:50:50 +0100 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2025-01-25 09:06:32 -0300 |
commit | a27409be4dca36998d54223719fc24cf2d6beda0 (patch) | |
tree | 34c5099dea1122a9b6b651797a1c84cc5c1209f8 /drivers/pinctrl/nxp/pinctrl-imx7ulp.c | |
parent | 24b575bc4f56b1eff6ecf5c6b88407618687b4d4 (diff) |
pinctrl: imx: Push imx_pinctrl_ops into drivers and staticize
Move imx_pinctrl_ops into drivers and staticize. This is preparatory
patch for follow up pinctrl drivers which will not use this variant
of imx_pinctrl_ops content. This should not change size, as most of
the deployments compiled in one pinctrl driver anyway. No functional
change.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/pinctrl/nxp/pinctrl-imx7ulp.c')
-rw-r--r-- | drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pinctrl/nxp/pinctrl-imx7ulp.c b/drivers/pinctrl/nxp/pinctrl-imx7ulp.c index 7ea2dbe7d36..7d732f5a505 100644 --- a/drivers/pinctrl/nxp/pinctrl-imx7ulp.c +++ b/drivers/pinctrl/nxp/pinctrl-imx7ulp.c @@ -32,6 +32,10 @@ static const struct udevice_id imx7ulp_pinctrl_match[] = { { /* sentinel */ } }; +static const struct pinctrl_ops imx_pinctrl_ops = { + .set_state = imx_pinctrl_set_state, +}; + U_BOOT_DRIVER(imx7ulp_pinctrl) = { .name = "imx7ulp-pinctrl", .id = UCLASS_PINCTRL, |