ARM: 6606/1: sa1100: Fix platform device registration
authorJochen Friedrich <jochen@scram.de>
Mon, 3 Jan 2011 11:09:05 +0000 (12:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:25 +0000 (14:54 -0800)
commit922d5699248b22e97a45b175966f19c8f77fe6d3
treee1b09d37bd29bb58775383dc10d9a258eadbc157
parent385979a2a621ab3c0d740d552ad243f82697cd48
ARM: 6606/1: sa1100: Fix platform device registration

commit 4f444e2b59dd4255d121b57ec41a4a8c5d6bce46 upstream.

Since commit 7a5b4e16c880f8350d255dc188f81622905618c1, simpad devices don't
boot anymore, since platform devices are registered too early. Fix by moving
the registration from map_io to arch_initcall as done on other sa1100 boards.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-sa1100/simpad.c