[PATCH 2/5] net: fec: adopt pinctrl API

Steven King sfking at fdwdc.com
Sun May 6 13:26:28 EDT 2012


On Sunday 06 May 2012 5:58:11 am Shawn Guo wrote:
> Cc: David S. Miller <davem at davemloft.net>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---
>  drivers/net/ethernet/freescale/fec.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)

As the fec driver is also used by m68k/coldfire, perhaps a CC to the 
uclinux-dev at uclinux.org would be apropos.
>
> +	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
> +	if (IS_ERR(pinctrl)) {
> +		ret = PTR_ERR(pinctrl);
> +		goto failed_pin;
> +	}

What happens here if pinmux support isnt implemented yet as is the case for 
m68k/coldfire?



More information about the linux-arm-kernel mailing list