OMAP: PM: omap_device: conditionally use PM domain runtime helpers
authorKevin Hilman <khilman@ti.com>
Tue, 12 Jul 2011 20:48:03 +0000 (22:48 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 12 Jul 2011 20:48:03 +0000 (22:48 +0200)
commit256a5435975e344b975f89c5434aa6f6eeb03fa1
treef729de46947769d9cbf84eb5e98a6c6827a905d6
parentf3393b62f157cc87f8d78247e97b87778dc077b8
OMAP: PM: omap_device: conditionally use PM domain runtime helpers

Only build and use the runtime PM helper functions only when runtime
PM is actually enabled.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/plat-omap/omap_device.c