Commit 5de1743e authored by Wanlong Gao's avatar Wanlong Gao Committed by Linus Torvalds

drivers/misc/sgi-gru/grufile.c: fix the wrong members of gru_chip

Fix the wrong members and the wrong function's definition, since the
irq_chip had changed.
Signed-off-by: default avatarWanlong Gao <wanlong.gao@gmail.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fc5da22a
...@@ -348,15 +348,15 @@ static unsigned long gru_chiplet_cpu_to_mmr(int chiplet, int cpu, int *corep) ...@@ -348,15 +348,15 @@ static unsigned long gru_chiplet_cpu_to_mmr(int chiplet, int cpu, int *corep)
static int gru_irq_count[GRU_CHIPLETS_PER_BLADE]; static int gru_irq_count[GRU_CHIPLETS_PER_BLADE];
static void gru_noop(unsigned int irq) static void gru_noop(struct irq_data *d)
{ {
} }
static struct irq_chip gru_chip[GRU_CHIPLETS_PER_BLADE] = { static struct irq_chip gru_chip[GRU_CHIPLETS_PER_BLADE] = {
[0 ... GRU_CHIPLETS_PER_BLADE - 1] { [0 ... GRU_CHIPLETS_PER_BLADE - 1] {
.mask = gru_noop, .irq_mask = gru_noop,
.unmask = gru_noop, .irq_unmask = gru_noop,
.ack = gru_noop .irq_ack = gru_noop
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment