diff options
author | Tony Lindgren <tony@atomide.com> | 2012-09-18 01:26:10 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-18 01:26:10 +0200 |
commit | defa6be1c8216ed2d52d65db81a8a148e73be5f7 (patch) | |
tree | f5ad75944664af2095cd8685fb97d8d796a7eb10 /include | |
parent | ARM: OMAP1: Move SoC specific headers from plat to mach for omap1 (diff) | |
download | linux-defa6be1c8216ed2d52d65db81a8a148e73be5f7.tar.xz linux-defa6be1c8216ed2d52d65db81a8a148e73be5f7.zip |
mfd: Fix compile for twl-core.c by removing cpu_is_omap usage
Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke
compile for non-omap as include plat/cpu.h was added. This header
was indirectly included earlier when SPARSE_IRQ was not set, but
does not exist on most platforms.
Fix the problem by removing the cpu_is_omap usage that should
not exist in drivers at all. We can do this by adding proper
clock aliases for the twl-core.c drivers, and drop separate
handling for cases when clock framework is not available as
the behaviour will stay the same.
Note that we need to add a platform device to avoid using the
i2c provided names that may be different on various omaps.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Walmsley <paul@pwsan.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions