diff options
author | Tony Lindgren <[email protected]> | 2012-09-17 16:26:10 -0700 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2012-09-17 16:26:10 -0700 |
commit | defa6be1c8216ed2d52d65db81a8a148e73be5f7 (patch) | |
tree | f5ad75944664af2095cd8685fb97d8d796a7eb10 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 68cb700c59fae6cd539c9dc1e9f2584f671935a0 (diff) |
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 <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Cc: Paul Walmsley <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Felipe Balbi <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions