parisc: remove obsolete hw_interrupt_type
The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have been kept around for migration reasons. After more than two years it's time to remove them finally. This patch cleans up one of the remaining users. When all such patches hit mainline we can remove the defines and typedefs finally. Impact: cleanup Convert the last remaining users to struct irq_chip and remove the define. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Tento commit je obsažen v:

odevzdal
Kyle McMartin

rodič
47b4150baa
revize
dfe0756502
@@ -148,7 +148,7 @@ static unsigned int gsc_asic_startup_irq(unsigned int irq)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type gsc_asic_interrupt_type = {
|
||||
static struct irq_chip gsc_asic_interrupt_type = {
|
||||
.typename = "GSC-ASIC",
|
||||
.startup = gsc_asic_startup_irq,
|
||||
.shutdown = gsc_asic_disable_irq,
|
||||
@@ -158,7 +158,7 @@ static struct hw_interrupt_type gsc_asic_interrupt_type = {
|
||||
.end = no_end_irq,
|
||||
};
|
||||
|
||||
int gsc_assign_irq(struct hw_interrupt_type *type, void *data)
|
||||
int gsc_assign_irq(struct irq_chip *type, void *data)
|
||||
{
|
||||
static int irq = GSC_IRQ_BASE;
|
||||
struct irq_desc *desc;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele