From: Linus Walleij Date: Tue, 6 Nov 2012 16:16:39 +0000 (+0100) Subject: gpiolib: iron out include ladder mistakes X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~94^2~42 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50309a9c2e576ac4ad29e30f5854acb87bdc2ac4;p=pandora-kernel.git gpiolib: iron out include ladder mistakes The <*/gpio.h> includes are updated again: now we need to account for the problem introduced by commit: 595679a8038584df7b9398bf34f61db3c038bfea "gpiolib: fix up function prototypes etc" Actually we need static inlines in include/asm-generic/gpio.h as well since we may have GPIOLIB but not PINCTRL. Make sure to move all the CONFIG_PINCTRL business to the end of the file so we are sure we have declared struct gpio_chip. And we need to keep the static inlines in but here for the !CONFIG_GENERIC_GPIO case, and then we may as well throw in a few warnings like the other prototypes there, if someone would have the bad taste of compiling without GENERIC_GPIO even. Signed-off-by: Linus Walleij --- Reading git-diff-tree failed