]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-omap2/pm.c
Merge tag 'for-v3.8-part2' of git://git.infradead.org/battery-2.6
[~andy/linux] / arch / arm / mach-omap2 / pm.c
index e5a4c3a0accd35908f4f42ed17fe0839052a0e34..f4b3143a8b1d23f104419181c0d266b07e31ad78 100644 (file)
@@ -40,6 +40,7 @@ static struct omap_device_pm_latency *pm_lats;
  */
 int (*omap_pm_suspend)(void);
 
+#ifdef CONFIG_PM
 /**
  * struct omap2_oscillator - Describe the board main oscillator latencies
  * @startup_time: oscillator startup latency
@@ -69,6 +70,7 @@ void omap_pm_get_oscillator(u32 *tstart, u32 *tshut)
        *tstart = oscillator.startup_time;
        *tshut = oscillator.shutdown_time;
 }
+#endif
 
 static int __init _init_omap_device(char *name)
 {