aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2012-01-20 08:15:58 -0500
committerBenoit Cousson <b-cousson@ti.com>2012-03-12 09:58:25 -0400
commitefcf1e502012cc2cc9ee8165fa0a7679725c525c (patch)
treeaaa5d13b9884c1889e3f29ae2a8d0cc4bf067ed9 /arch/arm/mach-omap2/devices.c
parent385a64bbc2d2c3ef864190b010c74afc5b850195 (diff)
arm/dts: OMAP4: Add SPI controller nodes
Add the 4 McSPI controller nodes present in an OMAP4 device. Remove SPI static device initialisation if DT is populated. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Acked-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 283d11eae693..8a489ba68714 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -725,7 +725,9 @@ static int __init omap2_init_devices(void)
725 omap_init_dmic(); 725 omap_init_dmic();
726 omap_init_camera(); 726 omap_init_camera();
727 omap_init_mbox(); 727 omap_init_mbox();
728 omap_init_mcspi(); 728 /* If dtb is there, the devices will be created dynamically */
729 if (!of_have_populated_dt())
730 omap_init_mcspi();
729 omap_init_pmu(); 731 omap_init_pmu();
730 omap_hdq_init(); 732 omap_hdq_init();
731 omap_init_sti(); 733 omap_init_sti();