Re: [PATCH 2/2] pinctrl: single: set pinmux from pins debug file

From: Tony Lindgren
Date: Mon May 17 2021 - 01:57:42 EST


Hi,

* Dario Binacchi <dariobin@xxxxxxxxx> [210516 13:55]:
> @@ -331,6 +348,9 @@ static const struct pinctrl_ops pcs_pinctrl_ops = {
> .get_group_name = pinctrl_generic_get_group_name,
> .get_group_pins = pinctrl_generic_get_group_pins,
> .pin_dbg_show = pcs_pin_dbg_show,
> +#if IS_ENABLED(CONFIG_DEVMEM) && IS_ENABLED(CONFIG_SOC_AM33XX)
> + .pin_dbg_set = pcs_pin_dbg_set,
> +#endif
> .dt_node_to_map = pcs_dt_node_to_map,
> .dt_free_map = pcs_dt_free_map,
> };

I don't think there should be any CONFIG_SOC_AM33XX dependency here?

Regards,

Tony