From: Johannes Weiner Date: Mon, 11 May 2009 13:43:34 +0000 (+0200) Subject: xtensa: register gpio chip before use X-Git-Tag: linux-omap-v2.6.30-rc6~15^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb137c1e33cd188b40b3c0d7283412efeeb783f;p=pandora-kernel.git xtensa: register gpio chip before use Platform initialization sets up the LED heartbeat that is controlled via GPIO. Requesting the GPIO pins fails, however, as the chip is only initialized later by a device_initcall(). Fix this up by exporting the initialization function. Let the platform set up the chip before it starts using it. Signed-off-by: Johannes Weiner Signed-off-by: Chris Zankel --- Reading git-diff-tree failed