[PATCH 2/5] net: fec: adopt pinctrl API
Shawn Guo
shawn.guo at linaro.org
Sun May 6 20:46:46 EDT 2012
On Sun, May 06, 2012 at 10:26:28AM -0700, Steven King wrote:
> > + 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?
There are a set of stub functions defined for !CONFIG_PINCTRL
in include/linux/pinctrl/consumer.h to ensure the pinctrl calls
succeed for those cases.
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list