mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
gpu: host1x-nvhost: export nvhost_get_host1x_device API
Export the API, that can be used by other modules, for retrieving the host1x platform_device data for the right host1x instance. Bug 4793553 Jira HOSTX-5414 Signed-off-by: Santosh BS <santoshb@nvidia.com> Change-Id: Iadfb9f1f28468a4ff470ea505512a27f9092e2f2 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3196481 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
This commit is contained in:
@@ -185,6 +185,7 @@ int nvhost_flcn_finalize_poweron(struct platform_device *dev);
|
||||
|
||||
/* public api to return platform_device ptr to the default host1x instance */
|
||||
struct platform_device *nvhost_get_default_device(void);
|
||||
struct platform_device *nvhost_get_host1x_device(int instance);
|
||||
|
||||
/* common runtime pm and power domain APIs */
|
||||
int nvhost_module_init(struct platform_device *ndev);
|
||||
|
||||
Reference in New Issue
Block a user