aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/gen/gh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/tidspbridge/gen/gh.c')
-rw-r--r--drivers/staging/tidspbridge/gen/gh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/gen/gh.c b/drivers/staging/tidspbridge/gen/gh.c
index d1e7b38..44fad88 100644
--- a/drivers/staging/tidspbridge/gen/gh.c
+++ b/drivers/staging/tidspbridge/gen/gh.c
@@ -188,6 +188,7 @@ static void myfree(void *ptr, s32 size)
gs_free(ptr);
}
+#ifdef CONFIG_TIDSPBRIDGE_BACKTRACE
/**
* gh_iterate() - This function goes through all the elements in the hash table
* looking for the dsp symbols.
@@ -211,3 +212,4 @@ void gh_iterate(struct gh_t_hash_tab *hash_tab,
}
}
}
+#endif