(SHIFT) soc: qcom: msm_bus: skip setting up debugfs
Change-Id: Ibbeed58157940daae6af8aefb0faafe5ebcc090e
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/drivers/soc/qcom/msm_bus/msm_bus_dbg.c b/drivers/soc/qcom/msm_bus/msm_bus_dbg.c
index c607049..c1e3bfd 100644
--- a/drivers/soc/qcom/msm_bus/msm_bus_dbg.c
+++ b/drivers/soc/qcom/msm_bus/msm_bus_dbg.c
@@ -859,6 +859,10 @@ EXPORT_SYMBOL(msm_bus_dbg_commit_data);
static int __init msm_bus_debugfs_init(void)
{
+#ifdef CONFIG_SHIFT_PROJECT
+ msm_bus_dbg_init_vectors();
+ return 0;
+#else
struct dentry *commit, *shell_client, *rules_dbg;
struct msm_bus_fab_list *fablist;
struct msm_bus_cldata *cldata = NULL;
@@ -967,6 +971,7 @@ static int __init msm_bus_debugfs_init(void)
err:
debugfs_remove_recursive(dir);
return -ENODEV;
+#endif
}
late_initcall(msm_bus_debugfs_init);