* [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi
@ 2011-01-26 6:29 David Miller
2011-01-26 6:48 ` Du, Alek
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2011-01-26 6:29 UTC (permalink / raw)
To: buytenh; +Cc: alek.du, linux-kernel
Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/gpio/langwell_gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c
index d81cc74..a0d0c7b 100644
--- a/drivers/gpio/langwell_gpio.c
+++ b/drivers/gpio/langwell_gpio.c
@@ -206,7 +206,7 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
/* clear the edge detect status bit */
writel(gedr_v, gedr);
}
- desc->chip->eoi(irq);
+ desc->irq_data.chip->irq_eoi(&desc->irq_data);
}
static int __devinit lnw_gpio_probe(struct pci_dev *pdev,
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi
2011-01-26 6:29 [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi David Miller
@ 2011-01-26 6:48 ` Du, Alek
2011-01-26 6:50 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Du, Alek @ 2011-01-26 6:48 UTC (permalink / raw)
To: David Miller, buytenh; +Cc: linux-kernel
Another patch from Feng Tang already covers this and picked up by Andrew Morton.
[patch 04/23] langwell_gpio: modify EOI handling following change of kernel irq subsystem
Thanks,
Alek
-----Original Message-----
From: David Miller [mailto:davem@davemloft.net]
Sent: Wednesday, January 26, 2011 2:30 PM
To: buytenh@secretlab.ca
Cc: Du, Alek; linux-kernel@vger.kernel.org
Subject: [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi
Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/gpio/langwell_gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c
index d81cc74..a0d0c7b 100644
--- a/drivers/gpio/langwell_gpio.c
+++ b/drivers/gpio/langwell_gpio.c
@@ -206,7 +206,7 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
/* clear the edge detect status bit */
writel(gedr_v, gedr);
}
- desc->chip->eoi(irq);
+ desc->irq_data.chip->irq_eoi(&desc->irq_data);
}
static int __devinit lnw_gpio_probe(struct pci_dev *pdev,
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi
2011-01-26 6:48 ` Du, Alek
@ 2011-01-26 6:50 ` David Miller
2011-01-30 6:05 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2011-01-26 6:50 UTC (permalink / raw)
To: alek.du; +Cc: buytenh, linux-kernel
From: "Du, Alek" <alek.du@intel.com>
Date: Wed, 26 Jan 2011 14:48:02 +0800
> Another patch from Feng Tang already covers this and picked up by Andrew Morton.
>
> [patch 04/23] langwell_gpio: modify EOI handling following change of kernel irq subsystem
Ok, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi
2011-01-26 6:50 ` David Miller
@ 2011-01-30 6:05 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2011-01-30 6:05 UTC (permalink / raw)
To: alek.du; +Cc: buytenh, linux-kernel
From: David Miller <davem@davemloft.net>
Date: Tue, 25 Jan 2011 22:50:34 -0800 (PST)
> From: "Du, Alek" <alek.du@intel.com>
> Date: Wed, 26 Jan 2011 14:48:02 +0800
>
>> Another patch from Feng Tang already covers this and picked up by Andrew Morton.
>>
>> [patch 04/23] langwell_gpio: modify EOI handling following change of kernel irq subsystem
>
> Ok, thanks.
It doesn't cover "this". Somthing like my patch is still necessary to
get this driver to build:
drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler':
drivers/gpio/langwell_gpio.c:210:10: error: 'struct irq_desc' has no member named 'chip'
drivers/gpio/langwell_gpio.c:211:7: error: 'struct irq_desc' has no member named 'chip'
--------------------
Subject: [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip
From: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c
index 54d70a4..fb3e439 100644
--- a/drivers/gpio/langwell_gpio.c
+++ b/drivers/gpio/langwell_gpio.c
@@ -207,8 +207,8 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
writel(gedr_v, gedr);
}
- if (desc->chip->irq_eoi)
- desc->chip->irq_eoi(irq_get_irq_data(irq));
+ if (desc->irq_data.chip->irq_eoi)
+ desc->irq_data.chip->irq_eoi(irq_get_irq_data(irq));
else
dev_warn(lnw->chip.dev, "missing EOI handler for irq %d\n", irq);
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-30 6:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 6:29 [PATCH] langwell_gpio: Fix deprecated refs to irq_desc->chip and chip->eoi David Miller
2011-01-26 6:48 ` Du, Alek
2011-01-26 6:50 ` David Miller
2011-01-30 6:05 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.