Re: linux-next: build failure after merge of the final tree (gpiotree related)

From: Alex Courbot
Date: Tue Oct 29 2013 - 20:56:27 EST


On 10/29/2013 10:25 PM, Linus Walleij wrote:
On Tue, Oct 29, 2013 at 10:10 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

I have applied the following patch for today (it should go into the gpio
tree if it is considered correct):

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Tue, 29 Oct 2013 20:05:12 +1100
Subject: [PATCH] gpiolib: include gpio/consumer.h in of_gpio.h for
desc_to_gpio()

Fixes this build error on sparc:

In file included from drivers/spi/spi.c:33:0:
include/linux/of_gpio.h: In function 'of_get_named_gpio_flags':
include/linux/of_gpio.h:93:3: error: implicit declaration of function 'desc_to_gpio' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Patch applied, unless Alexandre has any considerations.

Nope, that include should definitely be there, actually I was convinced it was already...

Alex.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/