Kernel gpio/2 routines that will be used by some drivers.