]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod: use init-time function pointer for hardreset
authorKevin Hilman <khilman@ti.com>
Mon, 18 Jun 2012 18:12:24 +0000 (12:12 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 18:12:24 +0000 (12:12 -0600)
commit04f8fb3f5055f54d4ac1f59662c2e1de710a38a1
tree83783e256067e22342d9bf02fba1d54db09d313b
parent2eb102ceb0fd27b4ba84713840013f5c2a59653d
ARM: OMAP2+: hwmod: use init-time function pointer for hardreset

Rather than using cpu_is* checking at runtime, initialize SoC specific
function pointers for the various hard reset functions at init time.

Signed-off-by: Kevin Hilman <khilman@ti.com>
[paul@pwsan.com: convert to use soc_ops function pointers; add kerneldoc]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c