gp2a: Fix deprecated set_irq_type()

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
gp2a: Fix some function prototypes.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>