Skip to content

Commit

Permalink
blackfin: mach-common: ints-priority add irq_set_wake
Browse files Browse the repository at this point in the history
Add irq_set_wake to bfin_sec_irqchip, drivers like stmmac need it.

Signed-off-by: Bob Liu <[email protected]>
  • Loading branch information
aet00 committed Jul 24, 2012
1 parent 338881a commit 357351b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/blackfin/mach-common/ints-priority.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,10 @@ static int bfin_internal_set_wake_chip(struct irq_data *d, unsigned int state)
return bfin_internal_set_wake(d->irq, state);
}
#else
# define bfin_internal_set_wake(irq, state)
inline int bfin_internal_set_wake(unsigned int irq, unsigned int state)
{
return 0;
}
# define bfin_internal_set_wake_chip NULL
#endif

Expand Down Expand Up @@ -527,6 +530,7 @@ static struct irq_chip bfin_sec_irqchip = {
.irq_eoi = bfin_sec_unmask_irq,
.irq_disable = bfin_sec_disable,
.irq_enable = bfin_sec_enable,
.irq_set_wake = bfin_internal_set_wake,
};
#endif

Expand Down

0 comments on commit 357351b

Please sign in to comment.