ARM: OMAP2+: Prepare for device-tree PMU support
authorJon Hunter <jon-hunter@ti.com>
Fri, 19 Oct 2012 19:27:34 +0000 (14:27 -0500)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:21:04 +0000 (00:21 +0200)
commiteeb7ba21ab7e84597e4156cb35f85839c20d66a1
tree486cd6945a74e6de216168f8706fccc2d545ef29
parent72f6f957530321ba868fce65f19ad718c64b9366
ARM: OMAP2+: Prepare for device-tree PMU support

If device-tree is present, then do not create the PMU device from within
the OMAP specific PMU code. This is required to allow device-tree to
create the PMU device from the PMU device-tree node.

PMU is not currently supported for OMAP4430 (due to a dependency on
having a cross-trigger interface driver) and so ensure that this
indicated on boot with or without device-tree.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/mach-omap2/pmu.c