On Wed, Nov 7, 2012 at 5:48 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > Caused by commit e8321df59155 ("gpiolib: iron out include ladder > mistakes") (and some earlier ones) from the pinctrl tree. > > I added this patch for today (there may be a better return value from > gpiochip_add_pin_range): (..) > +struct gpio_chip; > + > static inline int > gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, > unsigned int pin_base, unsigned int npins) > { > + return 0; > } Bah, I happened to put these prototypes just above the actual definition of struct gpio_chip :-P Fixing up and respinning the patch, I've added the compulsory return value as well. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html