From: Laurent Pinchart Date: Sat, 15 Dec 2012 22:50:46 +0000 (+0100) Subject: sh-pfc: Merge PFC core and gpio X-Git-Tag: v3.9-rc1~121^2~1^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f6a4a683be97837f3baae443aacd2b0e6162b10;p=pandora-kernel.git sh-pfc: Merge PFC core and gpio The PFC core calls the gpio module gpiochip registration in its register_sh_pfc() function, itself called at arch initialization time. If the gpio module isn't present then the gpiochip will never be registered. As the gpio module can only be present at arch initialization time if it's builtin, there's no point in allowing to build it as a module. Make it a boolean option, and initialize it synchronously with the core if selected. Signed-off-by: Laurent Pinchart Acked-by: Paul Mundt Acked-by: Linus Walleij Signed-off-by: Simon Horman --- Reading git-diff-tree failed