sys/arm/include/intr.h no longer includes <sys/intr.h>, so drivers that
use INTRNG types must include it themselves. Two TI drivers were missed
and no longer compile:
sys/arm/ti/ti_gpio.h:41:21: error: field has incomplete type 'struct intr_irqsrc'
ti_gpio.h declares struct ti_gpio_irqsrc containing a struct intr_irqsrc,
and both aintc.c and ti_gpio.c use INTRNG interfaces while including only
<machine/intr.h>.
These files were missed because nothing in the tree builds them: AM335x
was removed from the armv7 GENERIC config in 3416e102c4e9, so the compiler
has not checked this code since. The sources were left in place, which is
why the breakage went unnoticed.
Includes are placed per style(9): sys/param.h and sys/systm.h first, the
remainder alphabetical.