ia64: Convert hp-sim to new irq_chip functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Родитель
3d373ce82a
Коммит
35d75b0e03
|
@ -11,30 +11,30 @@
|
||||||
#include <linux/irq.h>
|
#include <linux/irq.h>
|
||||||
|
|
||||||
static unsigned int
|
static unsigned int
|
||||||
hpsim_irq_startup (unsigned int irq)
|
hpsim_irq_startup(struct irq_data *data)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
hpsim_irq_noop (unsigned int irq)
|
hpsim_irq_noop(struct irq_data *data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
hpsim_set_affinity_noop(unsigned int a, const struct cpumask *b)
|
hpsim_set_affinity_noop(struct irq_data *d, const struct cpumask *b, bool f)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irq_chip irq_type_hp_sim = {
|
static struct irq_chip irq_type_hp_sim = {
|
||||||
.name = "hpsim",
|
.name = "hpsim",
|
||||||
.startup = hpsim_irq_startup,
|
.irq_startup = hpsim_irq_startup,
|
||||||
.shutdown = hpsim_irq_noop,
|
.irq_shutdown = hpsim_irq_noop,
|
||||||
.enable = hpsim_irq_noop,
|
.irq_enable = hpsim_irq_noop,
|
||||||
.disable = hpsim_irq_noop,
|
.irq_disable = hpsim_irq_noop,
|
||||||
.ack = hpsim_irq_noop,
|
.irq_ack = hpsim_irq_noop,
|
||||||
.set_affinity = hpsim_set_affinity_noop,
|
.irq_set_affinity = hpsim_set_affinity_noop,
|
||||||
};
|
};
|
||||||
|
|
||||||
void __init
|
void __init
|
||||||
|
|
Загрузка…
Ссылка в новой задаче