sensorhub: Fix input notify dependency to SEC_DEBUG 84/217784/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 14 Nov 2019 07:31:38 +0000 (16:31 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 14 Nov 2019 07:47:36 +0000 (16:47 +0900)
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>
drivers/sensorhub/brcm/ssp_dev.c

index 98bf1e4cebe8db6fe1cf4c09e4e61ba3558fa104..c840a5a47b97c78d1cdc53826cb5bac35ae1ad16 100644 (file)
 #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);