All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix irq_chip struct for Pb1200/Db1200 platform
@ 2006-07-14 14:53 Daniel Mack
  2006-07-14 16:11 ` Ralf Baechle
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Mack @ 2006-07-14 14:53 UTC (permalink / raw)
  To: linux-mips

Hi,

the following patch makes external interrupt sources work again
on AMD's Au1200 development boards. The unnamed initialization
of 'external_irq_type' lead to a defective function mapping.

I resent it because of the missing Signed-off-by: line, sorry.

Daniel


Signed-off-by: Daniel Mack <daniel@caiaq.de>

--- a/arch/mips/au1000/pb1200/irqmap.c
+++ b/arch/mips/au1000/pb1200/irqmap.c
@@ -151,18 +151,17 @@ static void pb1200_end_irq(unsigned int
static struct irq_chip external_irq_type =
{
#ifdef CONFIG_MIPS_PB1200
-       "Pb1200 Ext",
+       .name = "Pb1200 Ext",
#endif
#ifdef CONFIG_MIPS_DB1200
-       "Db1200 Ext",
+       .name = "Db1200 Ext",
#endif
-       pb1200_startup_irq,
-       pb1200_shutdown_irq,
-       pb1200_enable_irq,
-       pb1200_disable_irq,
-       pb1200_mask_and_ack_irq,
-       pb1200_end_irq,
-       NULL
+       .startup  = pb1200_startup_irq,
+       .shutdown = pb1200_shutdown_irq,
+       .enable   = pb1200_enable_irq,
+       .disable  = pb1200_disable_irq,
+       .mask_ack = pb1200_mask_and_ack_irq,
+       .end      = pb1200_end_irq
};
void _board_init_irq(void)

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH] fix irq_chip struct for Pb1200/Db1200 platform
@ 2006-07-14 14:46 Daniel Mack
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Mack @ 2006-07-14 14:46 UTC (permalink / raw)
  To: linux-mips

Hi,

the following patch makes external interrupt sources work again
on AMD's Au1200 development boards. The unnamed initialization
of 'external_irq_type' lead to a defective function mapping.

Daniel


--- a/arch/mips/au1000/pb1200/irqmap.c
+++ b/arch/mips/au1000/pb1200/irqmap.c
@@ -151,18 +151,17 @@ static void pb1200_end_irq(unsigned int
static struct irq_chip external_irq_type =
{
#ifdef CONFIG_MIPS_PB1200
-       "Pb1200 Ext",
+       .name = "Pb1200 Ext",
#endif
#ifdef CONFIG_MIPS_DB1200
-       "Db1200 Ext",
+       .name = "Db1200 Ext",
#endif
-       pb1200_startup_irq,
-       pb1200_shutdown_irq,
-       pb1200_enable_irq,
-       pb1200_disable_irq,
-       pb1200_mask_and_ack_irq,
-       pb1200_end_irq,
-       NULL
+       .startup  = pb1200_startup_irq,
+       .shutdown = pb1200_shutdown_irq,
+       .enable   = pb1200_enable_irq,
+       .disable  = pb1200_disable_irq,
+       .mask_ack = pb1200_mask_and_ack_irq,
+       .end      = pb1200_end_irq
};
void _board_init_irq(void)

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

end of thread, other threads:[~2006-08-29 17:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14 14:53 [PATCH] fix irq_chip struct for Pb1200/Db1200 platform Daniel Mack
2006-07-14 16:11 ` Ralf Baechle
2006-07-15  0:57   ` Daniel Mack
2006-07-15  4:39     ` Ralf Baechle
2006-07-15  9:16       ` Daniel Mack
2006-07-27  2:32         ` Daniel Mack
2006-08-04  8:27           ` Domen Puncer
2006-08-29 17:59             ` Daniel Mack
  -- strict thread matches above, loose matches on Subject: below --
2006-07-14 14:46 Daniel Mack

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.