summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/busctl-regs.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2012-06-18 12:12:24 -0600
committerPaul Walmsley <paul@pwsan.com>2012-06-18 12:12:24 -0600
commit8f6aa8ee114fb52a425e247e27e271ee35d7d3b3 (patch)
tree10724b6a72f97a9953508eb8e616963b042b5401 /arch/mn10300/include/asm/busctl-regs.h
parentbaa2607f56f1589eb21c01fe16aa5f5c3f9dad31 (diff)
downloadblackbird-op-linux-8f6aa8ee114fb52a425e247e27e271ee35d7d3b3.tar.gz
blackbird-op-linux-8f6aa8ee114fb52a425e247e27e271ee35d7d3b3.zip
ARM: OMAP2+: hwmod: use init-time function pointer for wait_target_ready
Rather than using cpu_is* checking at runtime, initialize an SoC specific function pointer for wait_target_ready(). While here, downgrade the BUG() to a WARN_ON() so it gives a noisy warning instead of causing a kernel panic. Signed-off-by: Kevin Hilman <khilman@ti.com> [paul@pwsan.com: convert to use soc_ops function pointers; add kerneldoc; move soc_ops functions to their own section in the code; integrated the _wait_target_ready() function with the OMAP2/OMAP4 variants; renamed the wait_module_ready field to wait_target_ready] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/mn10300/include/asm/busctl-regs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud