From: Guenter Roeck Date: Tue, 22 Jul 2014 15:01:01 +0000 (-0700) Subject: gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc X-Git-Tag: omap-for-v3.17/fixes-against-rc2~114^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7d4ad98fdd08932ffda2354c62e2e2ee059adcc;p=pandora-kernel.git gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc Both functions were introduced to let gpio drivers request their own gpio pins. Without exporting the functions, this can however only be used by gpio drivers built into the kernel. Secondary impact is that the functions can not currently be used by platform initialization code associated with the gpio-pca953x driver. This code permits auto-export of gpio pins through platform data, but if this functionality is used, the module can no longer be unloaded due to the problem solved with the introduction of gpiochip_request_own_desc and gpiochip_free_own_desc. Export both function so they can be used from modules and from platform initialization code. Reviewed-by: Alexandre Courbot Reviewed-by: Mika Westerberg Signed-off-by: Guenter Roeck Signed-off-by: Linus Walleij --- Reading git-diff-tree failed