GPIO Support

modulename: gpiolib.ko

and/or

gpiolib-devres.ko

and/or

gpiolib-legacy.ko

and/or

gpio.ko

configname: CONFIG_GPIOLIB

Linux Kernel Configuration
└─>Device Drivers
└─>GPIO Support
In linux kernel since version 2.6.27 (release Date: 2008-10-09)  
This enables GPIO support through the generic GPIO library.
You only need to enable this if you also want to enable
one or more of the GPIO drivers below.

If unsure, say N.

source code: