Remove static from function get_syncpt_name() and include it in
nvhost_syncpt.h so that it can be accessed from outside as well.
Bug
1305024
Change-Id: Ib01f57c701edadbf71a883c945e53cd2b2b7c604
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/369220
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
}
#endif
-static const char *get_syncpt_name(struct nvhost_syncpt *sp, int id)
+const char *get_syncpt_name(struct nvhost_syncpt *sp, int id)
{
const char *name = NULL;
name = sp->syncpt_names[id];
int nvhost_syncpt_nb_bases(struct nvhost_syncpt *sp);
int nvhost_syncpt_nb_mlocks(struct nvhost_syncpt *sp);
void nvhost_syncpt_set_manager(struct nvhost_syncpt *sp, int id, bool client);
+const char *get_syncpt_name(struct nvhost_syncpt *sp, int id);
/**
* Returns true if syncpoint min == max