ARM: OMAP2: Fix SPI driver failure on 2420 when running multi-omap config
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 12 May 2009 18:20:02 +0000 (11:20 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 12 May 2009 18:20:30 +0000 (11:20 -0700)
commitc8a799b03a981b4b27d8fd7320c96cfbe781b2fb
tree15dd88b2a8e4727effcc8d4d70c135e0109473b9
parenteaf9393bb79a9c7c8e708669f9581ca466122430
ARM: OMAP2: Fix SPI driver failure on 2420 when running multi-omap config

SPI driver will do unhandled fault on OMAP2420 if trying to probe
non-existing SPI busses. Register those additional busses runtime only
for cpus having them.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c