gator: Add config for building the module in-tree
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
drivers/Kconfig
drivers/Makefile
diff --git a/drivers/Kconfig b/drivers/Kconfig
index b3138fb..c1e4021 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -170,4 +170,6 @@
source "drivers/powercap/Kconfig"
+source "drivers/gator/Kconfig"
+
endmenu
diff --git a/drivers/Makefile b/drivers/Makefile
index 8e3b8b0..7edd884 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -155,3 +155,5 @@
obj-$(CONFIG_NTB) += ntb/
obj-$(CONFIG_FMC) += fmc/
obj-$(CONFIG_POWERCAP) += powercap/
+
+obj-$(CONFIG_GATOR) += gator/
diff --git a/drivers/gator/Kconfig b/drivers/gator/Kconfig
index e46ccb9..31f0c6f 100644
--- a/drivers/gator/Kconfig
+++ b/drivers/gator/Kconfig
@@ -3,7 +3,6 @@
default m if (ARM || ARM64)
depends on PROFILING
depends on HIGH_RES_TIMERS
- depends on LOCAL_TIMERS || !(ARM && SMP)
depends on PERF_EVENTS
depends on HW_PERF_EVENTS || !(ARM || ARM64)
select TRACING