This source file includes following definitions.
- omap1_pm_runtime_init
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 #include <linux/init.h>
  13 #include <linux/kernel.h>
  14 #include <linux/io.h>
  15 #include <linux/pm_runtime.h>
  16 #include <linux/pm_clock.h>
  17 #include <linux/platform_device.h>
  18 #include <linux/mutex.h>
  19 #include <linux/clk.h>
  20 #include <linux/err.h>
  21 
  22 #include "soc.h"
  23 
  24 static struct dev_pm_domain default_pm_domain = {
  25         .ops = {
  26                 USE_PM_CLK_RUNTIME_OPS
  27                 USE_PLATFORM_PM_SLEEP_OPS
  28         },
  29 };
  30 
  31 static struct pm_clk_notifier_block platform_bus_notifier = {
  32         .pm_domain = &default_pm_domain,
  33         .con_ids = { "ick", "fck", NULL, },
  34 };
  35 
  36 static int __init omap1_pm_runtime_init(void)
  37 {
  38         if (!cpu_class_is_omap1())
  39                 return -ENODEV;
  40 
  41         pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
  42 
  43         return 0;
  44 }
  45 core_initcall(omap1_pm_runtime_init);
  46