linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jic23@cam.ac.uk (Jonathan Cameron)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pcmcia: Fix additional platforms after removal of skt->irq in 66024db57d5b9011e274b314affad68f370c0d6f
Date: Fri, 04 Dec 2009 16:27:51 +0000	[thread overview]
Message-ID: <4B193887.8090608@cam.ac.uk> (raw)
In-Reply-To: <104e2dd0700bd7921433779187c189ff7795d385.1256684685.git.rmk+kernel@arm.linux.org.uk>

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
---

Russell's original patch is currently in linux-next (and hence I'm
guessing heading for the merge window?).  In the intervening time,
2 platforms have been added using the now nonexistent skt-irq.
This patch fixes them as per the other platforms.

 drivers/pcmcia/pxa2xx_palmtc.c    |    2 +-
 drivers/pcmcia/pxa2xx_stargate2.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pcmcia/pxa2xx_palmtc.c b/drivers/pcmcia/pxa2xx_palmtc.c
index 3a8993e..459a232 100644
--- a/drivers/pcmcia/pxa2xx_palmtc.c
+++ b/drivers/pcmcia/pxa2xx_palmtc.c
@@ -67,7 +67,7 @@ static int palmtc_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
 	if (ret)
 		goto err7;
 
-	skt->irq = IRQ_GPIO(GPIO_NR_PALMTC_PCMCIA_READY);
+	skt->socket.pci_irq = IRQ_GPIO(GPIO_NR_PALMTC_PCMCIA_READY);
 	return 0;
 
 err7:
diff --git a/drivers/pcmcia/pxa2xx_stargate2.c b/drivers/pcmcia/pxa2xx_stargate2.c
index 490749e..d08802f 100644
--- a/drivers/pcmcia/pxa2xx_stargate2.c
+++ b/drivers/pcmcia/pxa2xx_stargate2.c
@@ -40,7 +40,7 @@ static struct pcmcia_irqs irqs[] = {
 
 static int sg2_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
 {
-	skt->irq = IRQ_GPIO(SG2_S0_GPIO_READY);
+	skt->socket.pci_irq = IRQ_GPIO(SG2_S0_GPIO_READY);
 	return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs));
 }
 
-- 
1.6.4.4

  reply	other threads:[~2009-12-04 16:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 23:11 [RFC PATCH 01/10] PCMCIA: soc_common: convert to a stand alone module Russell King - ARM Linux
2009-10-27 23:11 ` [RFC PATCH 02/10] PCMCIA: soc_common: provide single socket add/remove functionality Russell King - ARM Linux
2009-10-27 23:11 ` [RFC PATCH 03/10] PCMCIA: soc_common: push socket removal down to SoC specific support Russell King - ARM Linux
2009-10-27 23:12 ` [RFC PATCH 04/10] PCMCIA: soc_common: push socket probe down into " Russell King - ARM Linux
2009-10-27 23:12 ` [RFC PATCH 05/10] PCMCIA: sa1111: wrap soc_pcmcia_socket to contain sa1111 specific data Russell King - ARM Linux
2009-10-27 23:12 ` [RFC PATCH 06/10] PCMCIA: sa1111: remove duplicated initializers Russell King - ARM Linux
2009-10-27 23:12 ` [RFC PATCH 07/10] PCMCIA: soc_common: constify soc_pcmcia_socket ops member Russell King - ARM Linux
2009-10-27 23:13 ` [RFC PATCH 08/10] PCMCIA: soc_common: remove 'dev' member from soc_pcmcia_socket Russell King - ARM Linux
2009-10-27 23:13 ` [RFC PATCH 09/10] PCMCIA: ss: allow PCI IRQs > 255 Russell King - ARM Linux
2009-10-27 23:13 ` [RFC PATCH 10/10] PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket Russell King - ARM Linux
2009-12-04 16:27   ` Jonathan Cameron [this message]
2009-12-04 16:31     ` [PATCH] pcmcia: Fix additional platforms after removal of skt->irq in 66024db57d5b9011e274b314affad68f370c0d6f Jonathan Cameron
2009-10-27 23:18 ` [RFC PATCH 00/10] PCMCIA soc_common re-factorization Russell King - ARM Linux
2009-10-27 23:21   ` Russell King - ARM Linux
2009-10-28  8:44   ` Wolfram Sang
2009-10-28 21:25   ` Dominik Brodowski
2009-10-29 17:25     ` Russell King - ARM Linux
2009-11-02 17:21       ` Dominik Brodowski
2009-12-04 17:18 ` [RFC PATCH 01/10] PCMCIA: soc_common: convert to a stand alone module Jonathan Cameron
2009-12-04 17:24   ` Russell King - ARM Linux
2009-12-05  9:56     ` Dominik Brodowski
2009-12-05 10:28       ` Russell King - ARM Linux
2009-12-05 11:04         ` Dominik Brodowski
2009-12-05 11:29           ` Russell King - ARM Linux

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=4B193887.8090608@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).