[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb4LVG8TG58DmUMHRL3r0r4hn7wh-y47metBwth5c52-A@mail.gmail.com>
Date: Thu, 8 Nov 2012 14:06:37 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Shiraz Hashim <shiraz.hashim@...com>
Subject: Re: linux-next: build failure after merge of the final tree (pinctrl
tree related)
On Wed, Nov 7, 2012 at 5:48 AM, Stephen Rothwell <sfr@...b.auug.org.au> 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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists