./include/linux/gpio/driver.h:722:19: error: static declaration of ‘gpiochip_lock_as_irq’ follows non-static declaration