Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: John Crispin <john@phrozen.org>
To: linux-mips@linux-mips.org, hauke@hauke-m.de
Subject: Re: [PATCH 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib
Date: Tue, 14 Aug 2012 14:55:44 +0200	[thread overview]
Message-ID: <502A4AD0.7030106@phrozen.org> (raw)
In-Reply-To: <1344165123-4640-4-git-send-email-hauke@hauke-m.de>

Hi Hauke,

>  int gpio_to_irq(unsigned gpio)
>  {
> @@ -99,4 +216,11 @@ int gpio_to_irq(unsigned gpio)
>  	}
>  	return -EINVAL;
>  }
> -EXPORT_SYMBOL_GPL(gpio_to_irq);
> +EXPORT_SYMBOL(gpio_to_irq);

can you change this to use gpio_chip.to_irq()

and then #define gpio_to_irq __gpio_to_irq    inside your gpio.h ?

Thanks,
John

      reply	other threads:[~2012-08-14 12:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 11:12 [PATCH 0/3] MIPS: BCM47xx: use gpiolib Hauke Mehrtens
2012-08-05 11:12 ` [PATCH 1/3] ssb: add function to return number of gpio lines Hauke Mehrtens
2012-08-05 11:12 ` [PATCH 2/3] bcma: add GPIO driver for SoCs Hauke Mehrtens
2012-08-10 17:47   ` John W. Linville
2012-08-05 11:12 ` [PATCH 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib Hauke Mehrtens
2012-08-14 12:55   ` John Crispin [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=502A4AD0.7030106@phrozen.org \
    --to=john@phrozen.org \
    --cc=hauke@hauke-m.de \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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