Re: linux-next: build failure after merge of the gpio-lw tree

From: Shawn Guo
Date: Fri Jan 18 2013 - 03:01:21 EST


On Fri, Jan 18, 2013 at 02:03:46PM +1100, Stephen Rothwell wrote:
> Hi Linus,
>
> After merging the gpio-lw tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
My bad, sorry for that. I just sent a v2 in reply to this message
for fixing the error. I spent some time trying to install a ppc64
toolchain for testing, but unfortunately with on luck. So Stephen,
I have to rely on linux-next to give it a test again. Thanks.

Shawn

> drivers/gpio/devres.c:51:5: error: redefinition of 'devm_gpio_request'
> include/linux/gpio.h:97:19: note: previous definition of 'devm_gpio_request' was here
> drivers/gpio/devres.c:80:5: error: redefinition of 'devm_gpio_request_one'
> include/linux/gpio.h:109:19: note: previous definition of 'devm_gpio_request_one' was here
> drivers/gpio/devres.c:113:6: error: redefinition of 'devm_gpio_free'
> include/linux/gpio.h:128:20: note: previous definition of 'devm_gpio_free' was here
>
> Presumably caused by commit d39cd0301255 ("gpio: devm_gpio_* support
> should not depend on GPIOLIB").

--
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/