[PATCH] powerpc/mpc85xx: Fix compiling error with DM_GPIO

Priyanka Jain (OSS) priyanka.jain at oss.nxp.com
Mon Jun 8 09:53:38 CEST 2020


>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Madalin Bucur
>Sent: Wednesday, April 29, 2020 11:04 AM
>To: wd at denx.de; u-boot at lists.denx.de
>Cc: Madalin Bucur (OSS) <madalin.bucur at oss.nxp.com>
>Subject: [PATCH] powerpc/mpc85xx: Fix compiling error with DM_GPIO
>
>P4080DS compilation fails with DM_GPIO enabled:
>
>drivers/gpio/gpio-uclass.c:355:5: error: redefinition of 'gpio_request'
> int gpio_request(unsigned gpio, const char *label)
>     ^~~~~~~~~~~~
>In file included from ./arch/powerpc/include/asm/arch/gpio.h:17:0,
>                 from ./arch/powerpc/include/asm/gpio.h:1,
>                 from drivers/gpio/gpio-uclass.c:16:
>./arch/powerpc/include/asm/mpc85xx_gpio.h:68:19: note: previous
>definition of 'gpio_request' was here  static inline int gpio_request(unsigned
>gpio, const char *label)
>                   ^~~~~~~~~~~~
>
>Signed-off-by: Madalin Bucur <madalin.bucur at oss.nxp.com>
>---
<snip>
Patch applied on mpc85xx. Awaiting upstream

Thanks
Priyanka


More information about the U-Boot mailing list