]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP: Fix i2c cmdline initcall for multiplatform
authorTony Lindgren <tony@atomide.com>
Fri, 11 Jan 2013 19:24:19 +0000 (11:24 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Jan 2013 19:24:19 +0000 (11:24 -0800)
commita6cf912c6047077a6eb860ed8dbfa342376ee395
tree23054ab4c83865400ffde599dd0bb3dd34664fe6
parentb76c8b19b082c3fc84725de0d3ba5ee1f571c0ae
ARM: OMAP: Fix i2c cmdline initcall for multiplatform

We only want this initcall to run when the kernel is
booted on omap SoCs. Fix the issue by initializing the
the initcall from separately for omap1 and omap2+.

This fixes the issue for omap2+ multiplatform configs
as we are using omap_subsys_initcall there.

Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/i2c.c
arch/arm/mach-omap2/i2c.c
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/include/plat/i2c.h