Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / tidspbridge / gen / gh.c
index d1e7b38..f72d943 100644 (file)
@@ -14,7 +14,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#include <dspbridge/std.h>
+#include <linux/types.h>
 
 #include <dspbridge/host_os.h>
 
@@ -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