linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: asic3: Fix build error
@ 2011-04-14 14:43 Axel Lin
  2011-04-18  8:58 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-04-14 14:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: Thomas Gleixner, Samuel Ortiz

Fix below compile error:

  CC      drivers/mfd/asic3.o
drivers/mfd/asic3.c: In function 'asic3_irq_demux':
drivers/mfd/asic3.c:147: error: 'irq_data' undeclared (first use in this function)
drivers/mfd/asic3.c:147: error: (Each undeclared identifier is reported only once
drivers/mfd/asic3.c:147: error: for each function it appears in.)

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/mfd/asic3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 0536e11..77a3971 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -144,7 +144,7 @@ static void asic3_irq_demux(unsigned int irq, struct irq_desc *desc)
 	int iter, i;
 	unsigned long flags;
 
-	data->chip->irq_ack(irq_data);
+	data->chip->irq_ack(data);
 
 	for (iter = 0 ; iter < MAX_ASIC_ISR_LOOPS; iter++) {
 		u32 status;
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: asic3: Fix build error
  2011-04-14 14:43 [PATCH] mfd: asic3: Fix build error Axel Lin
@ 2011-04-18  8:58 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2011-04-18  8:58 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Thomas Gleixner

Hi Axel,

On Thu, Apr 14, 2011 at 10:43:47PM +0800, Axel Lin wrote:
> Fix below compile error:
> 
>   CC      drivers/mfd/asic3.o
> drivers/mfd/asic3.c: In function 'asic3_irq_demux':
> drivers/mfd/asic3.c:147: error: 'irq_data' undeclared (first use in this function)
> drivers/mfd/asic3.c:147: error: (Each undeclared identifier is reported only once
> drivers/mfd/asic3.c:147: error: for each function it appears in.)
I wonder how this one got through...
I applied it to my for-linus branch anyway. Thanks a lot.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-18  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 14:43 [PATCH] mfd: asic3: Fix build error Axel Lin
2011-04-18  8:58 ` Samuel Ortiz

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).