drivers/gpio/gpio-generic.c: fix build errors