summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2019-11-14 16:31:38 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2019-11-14 16:47:36 +0900
commitc7e0c3de27d3dbeef327e77b51147109c6d866c7 (patch)
tree9033f6d8a19bf3355444fc986f42cd130ecd5be4
parentd0503446ecbd42d4236b27a005d5c5647dc556f0 (diff)
downloadlinux-4.9-exynos9110-c7e0c3de27d3dbeef327e77b51147109c6d866c7.tar.gz
linux-4.9-exynos9110-c7e0c3de27d3dbeef327e77b51147109c6d866c7.tar.bz2
linux-4.9-exynos9110-c7e0c3de27d3dbeef327e77b51147109c6d866c7.zip
sensorhub: Fix input notify dependency to SEC_DEBUG
The input notify can be used outside of SEC_DEBUG, but its enum is defiend inside of SEC_DEBUG. Fix the input notify dependency to SEC_DEBUG. Change-Id: Iabec8761f23404e6c08436b07a149ea7b760827a Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/sensorhub/brcm/ssp_dev.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/sensorhub/brcm/ssp_dev.c b/drivers/sensorhub/brcm/ssp_dev.c
index 98bf1e4cebe8..c840a5a47b97 100644
--- a/drivers/sensorhub/brcm/ssp_dev.c
+++ b/drivers/sensorhub/brcm/ssp_dev.c
@@ -26,17 +26,17 @@
#include <linux/smc.h>
#endif
-#ifdef CONFIG_INPUT_FF_MEMLESS_NOTIFY
-#include <linux/ff-memless_notify.h>
-#include <linux/input.h>
-#endif
-
#undef SSP_IRQ_EDGE_PROTECT
#if defined SSP_IRQ_EDGE_PROTECT
static int prevent_irq;
#endif
#endif
+#ifdef CONFIG_INPUT_FF_MEMLESS_NOTIFY
+#include <linux/ff-memless_notify.h>
+#include <linux/input.h>
+#endif
+
#ifdef CONFIG_HAS_EARLYSUSPEND
static void ssp_early_suspend(struct early_suspend *handler);
static void ssp_late_resume(struct early_suspend *handler);