summaryrefslogtreecommitdiff
path: root/drivers/staging/android/sync_debug.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2016-05-31 19:59:13 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-18 04:17:40 (GMT)
commitb1f656044a9936880d5a7460cd8784b2e124ab87 (patch)
tree4ad4b06dabae43826a398b9b9238f2ff7a5b98cc /drivers/staging/android/sync_debug.c
parent1fe82e2e148697fd1fbbb2944e143b182c51e227 (diff)
downloadlinux-b1f656044a9936880d5a7460cd8784b2e124ab87.tar.xz
staging/android: add DEBUG_FS dependence on Kconfig
SW_SYNC only works with DEBUG_FS so state it in the Kconfig file. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/sync_debug.c')
-rw-r--r--drivers/staging/android/sync_debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index b760226..9032969 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -17,8 +17,6 @@
#include <linux/debugfs.h>
#include "sync_debug.h"
-#ifdef CONFIG_DEBUG_FS
-
static struct dentry *dbgfs;
static LIST_HEAD(sync_timeline_list_head);
@@ -225,5 +223,3 @@ void sync_dump(void)
}
}
}
-
-#endif