Drivers compiled as modules may need to access some genpd functions
directly. This patch adds few new bindings that have been found
useful.
Bug
1476801
Change-Id: I19807977147d334f88be6b582e1cd0eb06854f12
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/387607
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
return ret;
}
+EXPORT_SYMBOL(__pm_genpd_add_device);
/**
* __pm_genpd_of_add_device - Add a device to an I/O PM domain.
list_add(&genpd->gpd_list_node, &gpd_list);
mutex_unlock(&gpd_list_lock);
}
-
+EXPORT_SYMBOL(pm_genpd_init);
#ifdef CONFIG_DEBUG_FS
/* Genpd status debugfs */
static int genpd_status_show(struct seq_file *s, void *data)