From: Hoegeun Kwon Date: Wed, 17 Aug 2016 08:31:22 +0000 (+0900) Subject: sensors: Kconfig: move the ssp and ssp_sensorhub in upper directory X-Git-Tag: accepted/tizen/common/20161219.151653~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41bfd1dad258ae34708a3f9f8e0fd26e1d854cf5;p=platform%2Fkernel%2Flinux-exynos.git sensors: Kconfig: move the ssp and ssp_sensorhub in upper directory The CONFIG_SSP and SENSORS_SSP_SENSORHUB are flags not strictly related to the STM sensorhub. Put them outside from the stm_rinato directory to an upper level to be ready to relate to other sensorhubs. Change-Id: I0334080c699136659842746fd06dcbbdeeccc0c0 Signed-off-by: Hoegeun Kwon --- diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig index 88276fe..630df62 100644 --- a/drivers/sensors/Kconfig +++ b/drivers/sensors/Kconfig @@ -21,6 +21,28 @@ config SENSORS_MAX86902 This driver can also be built as a module. If so, the module will be called max86902. +config SENSORS_SSP + tristate "Sensors ssp" + default n + depends on SPI + help + ssp driver for sensor hub. + If you say yes here you get ssp support for + sensor hub. + To compile this driver as a module, choose M here: the + module will be called ssp. + +config SENSORS_SSP_SENSORHUB + tristate "Sensors ssp sensorhub" + default n + depends on SPI + help + ssp sensor hub driver for sensor hub. + If you say yes here you get ssp support for + sensor hub. + To compile this driver as a module, choose M here: the + module will be called ssp. + config SENSORS_MAX_NOTCHFILTER bool "Sensors Maxim Notch Filter" help diff --git a/drivers/sensors/stm_rinato/Kconfig b/drivers/sensors/stm_rinato/Kconfig index c35bd3c..14c8833 100644 --- a/drivers/sensors/stm_rinato/Kconfig +++ b/drivers/sensors/stm_rinato/Kconfig @@ -1,17 +1,6 @@ # # sensor drivers configuration # -config SENSORS_SSP - tristate "Sensors ssp" - default n - depends on SPI - help - ssp driver for sensor hub. - If you say yes here you get ssp support for - sensor hub. - To compile this driver as a module, choose M here: the - module will be called ssp. - config SENSORS_SSP_STM tristate "Sensors ssp stm" default n @@ -111,14 +100,3 @@ config SENSORS_SSP_STM32F401 To compile this driver as a module, choose M here: the module will be called ssp. -config SENSORS_SSP_SENSORHUB - tristate "Sensors ssp sensorhub" - default n - depends on SPI - help - ssp sensor hub driver for sensor hub. - If you say yes here you get ssp support for - sensor hub. - To compile this driver as a module, choose M here: the - module will be called ssp. -