Re: [PATCH] net: smc91x: Fix gpios for device tree based booting
From: David Miller <davem@davemloft.net>
Date: 2014-10-29 18:51:32
Also in:
linux-devicetree, linux-omap
From: David Miller <davem@davemloft.net>
Date: 2014-10-29 18:51:32
Also in:
linux-devicetree, linux-omap
From: Tony Lindgren <tony@atomide.com> Date: Mon, 27 Oct 2014 13:25:56 -0700
+/** + * of_try_set_control_gpio - configure a gpio if it exists + */ +static int try_toggle_control_gpio(struct device *dev, + struct gpio_desc **desc, + const char *name, int index, + int value, unsigned int nsdelay)
This needs to be under CONFIG_OF cpp protection just like the code that calls it.