Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 494b7948 authored by Bob Liu's avatar Bob Liu
Browse files

blackfin: mach-common: ints-priority: fix compile error



IRQ_PINT4/PINT5 are not defined on !CONFIG_BF60x, this patch fix it.

Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent 8e2f524f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1107,12 +1107,14 @@ static int bfin_gpio_set_wake(struct irq_data *d, unsigned int state)
	case 1:
		pint_irq = IRQ_PINT1;
		break;
#ifdef CONFIG_BF60x
	case 4:
		pint_irq = IRQ_PINT4;
		break;
	case 5:
		pint_irq = IRQ_PINT5;
		break;
#endif
	default:
		return -EINVAL;
	}