commit | 1fb137c1e33cd188b40b3c0d7283412efeeb783f | [log] [tgz] |
---|---|---|
author | Johannes Weiner <jw@emlix.com> | Mon May 11 15:43:34 2009 +0200 |
committer | Chris Zankel <chris@zankel.net> | Mon May 11 22:00:07 2009 -0700 |
tree | 3cb2744c809158f9db7c8abae397c0069c8cf359 | |
parent | 586411dcd1935f91796d5e8a29aa3cfdf01a01f4 [diff] |
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 <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>