]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: iio: Move sensor drivers to sub menus
authorManuel Stahl <manuel.stahl@iis.fraunhofer.de>
Wed, 21 Sep 2011 10:15:50 +0000 (11:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:31:50 +0000 (17:31 -0700)
We have a lot of drivers now, so the iio sub menu becomes quite large.
This patch creates sub menus for the different sensors.

Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 files changed:
drivers/staging/iio/accel/Kconfig
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/addac/Kconfig
drivers/staging/iio/dac/Kconfig
drivers/staging/iio/dds/Kconfig
drivers/staging/iio/gyro/Kconfig
drivers/staging/iio/impedance-analyzer/Kconfig
drivers/staging/iio/imu/Kconfig
drivers/staging/iio/light/Kconfig
drivers/staging/iio/magnetometer/Kconfig
drivers/staging/iio/meter/Kconfig
drivers/staging/iio/resolver/Kconfig

index 81a33b60512beeaf9df05b6f9e1736ca6b59443f..bf38114233b007d96e9c4c87eef84739b4d280b2 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Accelerometer drivers
 #
-comment "Accelerometers"
+menu "Accelerometers"
 
 config ADIS16201
        tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
@@ -100,3 +100,5 @@ config SCA3000
        help
          Say yes here to build support for the VTI SCA3000 series of SPI
          accelerometers. These devices use a hardware ring buffer.
+
+endmenu
index 0482073744f35c17c15fdb1ee78e8c1b111f30e8..27dda13770bfa82208f3859eca07b6a5efb43f3f 100644 (file)
@@ -1,7 +1,7 @@
 #
 # ADC drivers
 #
-comment "Analog to digital convertors"
+menu "Analog to digital convertors"
 
 config AD7150
        tristate "Analog Devices ad7150/1/6 capacitive sensor driver"
@@ -229,3 +229,5 @@ config MAX1363_RING_BUFFER
        help
          Say yes here to include ring buffer support in the MAX1363
          ADC driver.
+
+endmenu
index 9847baf027002ab602c0fdecb1bef7bfd67c5117..869540e6af82788cb4e23c02f092083a64dcf272 100644 (file)
@@ -1,7 +1,7 @@
 #
 # ADDAC drivers
 #
-comment "Analog digital bi-direction convertors"
+menu "Analog digital bi-direction convertors"
 
 config ADT7316
        tristate "Analog Devices ADT7316/7/8 ADT7516/7/9 temperature sensor, ADC and DAC driver"
@@ -23,3 +23,5 @@ config ADT7316_I2C
        help
          Say yes here to build I2C bus support for Analog Devices ADT7316/7/8
          and ADT7516/7/9.
+
+endmenu
index 7ddae357f20e67a677fba480b9efdd15074c5aae..30001567ef00813094c06575dba6a76ff60a06e0 100644 (file)
@@ -1,7 +1,7 @@
 #
 # DAC drivers
 #
-comment "Digital to analog convertors"
+menu "Digital to analog convertors"
 
 config AD5624R_SPI
        tristate "Analog Devices AD5624/44/64R DAC spi driver"
@@ -62,3 +62,5 @@ config MAX517
 
          This driver can also be built as a module.  If so, the module
          will be called max517.
+
+endmenu
index e07431d80093f19107e88d5ccd4f0bc6c65159e4..93b7141b2c1fbec8aea4e0657a7193a98a0713f6 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Direct Digital Synthesis drivers
 #
-comment "Direct Digital Synthesis"
+menu "Direct Digital Synthesis"
 
 config AD5930
        tristate "Analog Devices ad5930/5932 driver"
@@ -57,3 +57,5 @@ config AD9951
        help
          Say yes here to build support for Analog Devices DDS chip
          ad9951, provides direct access via sysfs.
+
+endmenu
index ae2e7d3095ae98fedea58a5bf6d763c7388eb516..86774e3c97cc77503067ebc81002bec7bc707c49 100644 (file)
@@ -1,7 +1,7 @@
 #
 # IIO Digital Gyroscope Sensor drivers configuration
 #
-comment "Digital gyroscope sensors"
+menu "Digital gyroscope sensors"
 
 config ADIS16060
        tristate "Analog Devices ADIS16060 Yaw Rate Gyroscope with SPI driver"
@@ -45,3 +45,5 @@ config ADXRS450
 
          This driver can also be built as a module.  If so, the module
          will be called adxrs450.
+
+endmenu
index 9e91a9bc8bfe5c24d6d402db093309d27884f242..cce1ce3b5d90b849b16f3ac5a5dcf7b077a65201 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Impedance Converter, Network Analyzer drivers
 #
-comment "Network Analyzer, Impedance Converters"
+menu "Network Analyzer, Impedance Converters"
 
 config AD5933
        tristate "Analog Devices AD5933, AD5934 driver"
@@ -14,3 +14,5 @@ config AD5933
 
          To compile this driver as a module, choose M here: the
          module will be called ad5933.
+
+endmenu
index e0e01446117e3b17201b06b4516e2c3c8bb49cb1..233c76a313e2b63bf4d5700e9d0be82bfba0b002 100644 (file)
@@ -1,7 +1,7 @@
 #
 # IIO imu drivers configuration
 #
-comment "Inertial measurement units"
+menu "Inertial measurement units"
 
 config ADIS16400
        tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
@@ -13,3 +13,5 @@ config ADIS16400
          adis16354, adis16355, adis16360, adis16362, adis16364, adis16365,
          adis16400 and adis16405 triaxial inertial sensors (adis16400 series
          also have magnetometers).
+
+endmenu
index 1ad2d56c8ba8bdf0521c4ef3c5b8263d153a2fbc..e7e9159d9895a26c97bd3020253630851517cea9 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Light sensors
 #
-comment "Light sensors"
+menu "Light sensors"
 
 config SENSORS_ISL29018
         tristate "ISL 29018 light and proximity sensor"
@@ -30,3 +30,5 @@ config TSL2583
        help
         Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
         Access ALS data via iio, sysfs.
+
+endmenu
index 81b579d371dff4b426ee8c27a713791e8400cb6b..b8c149db29381767c5e19171ffc106464795ce42 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Magnetometer sensors
 #
-comment "Magnetometer sensors"
+menu "Magnetometer sensors"
 
 config SENSORS_AK8975
        tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
@@ -23,3 +23,4 @@ config SENSORS_HMC5843
          To compile this driver as a module, choose M here: the module
          will be called hmc5843
 
+endmenu
index 12e36e46069333df7f7074fc401cbe9471d38dfa..a8deab27831b5c214d00977ce593f171e841ba8f 100644 (file)
@@ -1,7 +1,7 @@
 #
 # IIO meter drivers configuration
 #
-comment "Active energy metering IC"
+menu "Active energy metering IC"
 
 config ADE7753
        tristate "Analog Devices ADE7753/6 Single-Phase Multifunction Metering IC Driver"
@@ -59,3 +59,5 @@ config ADE7854_SPI
 
          To compile this driver as a module, choose M here: the
          module will be called ade7854-spi.
+
+endmenu
index 6ecd79e300387e4616d964ba786c4e223fbaac02..07c309bba576747fd774d165e266a0a53fef7476 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Resolver/Synchro drivers
 #
-comment "Resolver to digital converters"
+menu "Resolver to digital converters"
 
 config AD2S90
        tristate "Analog Devices ad2s90 driver"
@@ -25,3 +25,4 @@ config AD2S1210
          Say yes here to build support for Analog Devices spi resolver
          to digital converters, ad2s1210, provides direct access via sysfs.
 
+endmenu