Skip to content

Commit

Permalink
ia64: Convert lsapic to new irq_chip functions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent f1f701e commit 5c217b6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions arch/ia64/kernel/irq_lsapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@
#include <linux/irq.h>

static unsigned int
lsapic_noop_startup (unsigned int irq)
lsapic_noop_startup (struct irq_data *data)
{
return 0;
}

static void
lsapic_noop (unsigned int irq)
lsapic_noop (struct irq_data *data)
{
/* nothing to do... */
}

static int lsapic_retrigger(unsigned int irq)
static int lsapic_retrigger(struct irq_data *data)
{
ia64_resend_irq(irq);
ia64_resend_irq(data->irq);

return 1;
}

struct irq_chip irq_type_ia64_lsapic = {
.name = "LSAPIC",
.startup = lsapic_noop_startup,
.shutdown = lsapic_noop,
.enable = lsapic_noop,
.disable = lsapic_noop,
.ack = lsapic_noop,
.retrigger = lsapic_retrigger,
.name = "LSAPIC",
.irq_startup = lsapic_noop_startup,
.irq_shutdown = lsapic_noop,
.irq_enable = lsapic_noop,
.irq_disable = lsapic_noop,
.irq_ack = lsapic_noop,
.irq_retrigger = lsapic_retrigger,
};

0 comments on commit 5c217b6

Please sign in to comment.