sensors: Kconfig: move the ssp and ssp_sensorhub in upper directory
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 17 Aug 2016 08:31:22 +0000 (17:31 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:37 +0000 (13:52 +0900)
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 <hoegeun.kwon@samsung.com>
drivers/sensors/Kconfig
drivers/sensors/stm_rinato/Kconfig

index 88276fe..630df62 100644 (file)
@@ -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
index c35bd3c..14c8833 100644 (file)
@@ -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.
-