public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab•ca>
To: Jon Smirl <jonsmirl@gmail•com>
Cc: ppc-dev <Linuxppc-dev@ozlabs•org>
Subject: Re: Getting GPIO to build again
Date: Thu, 24 Jul 2008 01:08:44 -0400	[thread overview]
Message-ID: <20080724050844.GB8456@secretlab.ca> (raw)
In-Reply-To: <9e4733910807232009o634027cajde78395f95ae95ce@mail.gmail.com>

On Wed, Jul 23, 2008 at 11:09:59PM -0400, Jon Smirl wrote:
> I just synced up to linus/master....

There is a fix for this in my tree for the 5200, but ben/paulus haven't
pulled it yet.

g.

> 
>   CC      arch/powerpc/platforms/52xx/mpc52xx_gpio.o
> In file included from arch/powerpc/platforms/52xx/mpc52xx_gpio.c:22:
> include/linux/of_gpio.h:26: error: field 'gc' has incomplete type
> include/linux/of_gpio.h: In function 'to_of_gpio_chip':
> include/linux/of_gpio.h:34: warning: type defaults to 'int' in
> declaration of '__mptr'
> include/linux/of_gpio.h:34: warning: initialization from incompatible
> pointer type
> In file included from include/asm/gpio.h:18,
>                  from arch/powerpc/platforms/52xx/mpc52xx_gpio.c:26:
> include/asm-generic/gpio.h: At top level:
> include/asm-generic/gpio.h:24: error: redefinition of 'gpio_is_valid'
> include/linux/gpio.h:24: error: previous definition of 'gpio_is_valid' was here
> In file included from arch/powerpc/platforms/52xx/mpc52xx_gpio.c:26:
> include/asm/gpio.h:27: error: redefinition of 'gpio_get_value'
> include/linux/gpio.h:50: error: previous definition of 'gpio_get_value' was here
> include/asm/gpio.h:32: error: redefinition of 'gpio_set_value'
> include/linux/gpio.h:57: error: previous definition of 'gpio_set_value' was here
> include/asm/gpio.h:37: error: redefinition of 'gpio_cansleep'
> include/linux/gpio.h:63: error: previous definition of 'gpio_cansleep' was here
> include/asm/gpio.h:45: error: redefinition of 'gpio_to_irq'
> include/linux/gpio.h:83: error: previous definition of 'gpio_to_irq' was here
> include/asm/gpio.h:50: error: redefinition of 'irq_to_gpio'
> include/linux/gpio.h:90: error: previous definition of 'irq_to_gpio' was here
> make[2]: *** [arch/powerpc/platforms/52xx/mpc52xx_gpio.o] Error 1
> make[1]: *** [arch/powerpc/platforms/52xx] Error 2
> make: *** [arch/powerpc/platforms] Error 2
> 
> 
> -- 
> Jon Smirl
> jonsmirl@gmail•com
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs•org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

      parent reply	other threads:[~2008-07-24  5:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  3:09 Getting GPIO to build again Jon Smirl
2008-07-24  3:34 ` Jon Smirl
2008-07-24 12:08   ` Anton Vorontsov
2008-07-24 12:24     ` Jochen Friedrich
2008-07-24  5:08 ` Grant Likely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080724050844.GB8456@secretlab.ca \
    --to=grant.likely@secretlab$(echo .)ca \
    --cc=Linuxppc-dev@ozlabs$(echo .)org \
    --cc=jonsmirl@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox