From: Tony Lindgren <[email protected]> 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. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
