Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184681
b: refs/heads/master
c: 4323e9f
h: refs/heads/master
i:
  184679: dd33108
v: v3
  • Loading branch information
Tony Lindgren committed Feb 15, 2010
1 parent f0b0c6e commit 80ebec3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 140455fa007a618d2d1bf5e6e888206534035e6f
refs/heads/master: 4323e9f71903f654abc6d21a3ef81c08e0ac2288
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,12 @@ static struct platform_device dummy_pdev = {
**/
static void __init omap_hsmmc_reset(void)
{
u32 i, nr_controllers = cpu_is_omap44xx() ? OMAP44XX_NR_MMC :
u32 i, nr_controllers;

if (cpu_is_omap242x())
return;

nr_controllers = cpu_is_omap44xx() ? OMAP44XX_NR_MMC :
(cpu_is_omap34xx() ? OMAP34XX_NR_MMC : OMAP24XX_NR_MMC);

for (i = 0; i < nr_controllers; i++) {
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap2/emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ static struct amba_device omap3_etm_device = {

static int __init emu_init(void)
{
if (!cpu_is_omap34xx())
return -ENODEV;

amba_device_register(&omap3_etb_device, &iomem_resource);
amba_device_register(&omap3_etm_device, &iomem_resource);

Expand Down

0 comments on commit 80ebec3

Please sign in to comment.