projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259bd6c
)
OMAP4: devices: Do not create mcpdm device if the dtb has been provided
author
Peter Ujfalusi
<
[email protected]
>
Wed, 2 May 2012 12:23:19 +0000
(15:23 +0300)
committer
Tony Lindgren
<
[email protected]
>
Tue, 8 May 2012 23:54:00 +0000
(16:54 -0700)
If dtb is provided the needed device will be created dynamically.
Signed-off-by: Peter Ujfalusi <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/mach-omap2/devices.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/devices.c
b/arch/arm/mach-omap2/devices.c
index addaa588c8e718793293c030862b216a0cad4228..ddf304de473c6534263ad221209af95806ee9225 100644
(file)
--- a/
arch/arm/mach-omap2/devices.c
+++ b/
arch/arm/mach-omap2/devices.c
@@
-721,12
+721,12
@@
static int __init omap2_init_devices(void)
* in alphabetical order so they're easier to sort through.
*/
omap_init_audio();
- omap_init_mcpdm();
omap_init_camera();
omap_init_mbox();
/* If dtb is there, the devices will be created dynamically */
if (!of_have_populated_dt()) {
omap_init_dmic();
+ omap_init_mcpdm();
omap_init_mcspi();
}
omap_init_pmu();