diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-01-06 10:10:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-26 05:07:53 -0500 |
commit | 81ca486fe54c799033fac1eb6d93baf64df37ba6 (patch) | |
tree | 4818c0f5b884504aa9b485f537f35590c1123dbd | |
parent | d526e513c7dd1bb3f9696c7d38634e5ebf5f0919 (diff) |
iio:accel:kxsd9 move out of staging
This is a very simple driver giving basic access to this part over an
spi bus.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/accel/Kconfig | 7 | ||||
-rw-r--r-- | drivers/iio/accel/Makefile | 1 | ||||
-rw-r--r-- | drivers/iio/accel/kxsd9.c (renamed from drivers/staging/iio/accel/kxsd9.c) | 0 | ||||
-rw-r--r-- | drivers/staging/iio/accel/Kconfig | 7 | ||||
-rw-r--r-- | drivers/staging/iio/accel/Makefile | 2 |
5 files changed, 8 insertions, 9 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index 05e996fafc9d..d6003531bd63 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig | |||
@@ -14,4 +14,11 @@ config HID_SENSOR_ACCEL_3D | |||
14 | Say yes here to build support for the HID SENSOR | 14 | Say yes here to build support for the HID SENSOR |
15 | accelerometers 3D. | 15 | accelerometers 3D. |
16 | 16 | ||
17 | config KXSD9 | ||
18 | tristate "Kionix KXSD9 Accelerometer Driver" | ||
19 | depends on SPI | ||
20 | help | ||
21 | Say yes here to build support for the Kionix KXSD9 accelerometer. | ||
22 | Currently this only supports the device via an SPI interface. | ||
23 | |||
17 | endmenu | 24 | endmenu |
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile index 5bc6855a973e..4e1c85987d13 100644 --- a/drivers/iio/accel/Makefile +++ b/drivers/iio/accel/Makefile | |||
@@ -3,3 +3,4 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o | 5 | obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o |
6 | obj-$(CONFIG_KXSD9) += kxsd9.o | ||
diff --git a/drivers/staging/iio/accel/kxsd9.c b/drivers/iio/accel/kxsd9.c index 4a24c2ee81a9..4a24c2ee81a9 100644 --- a/drivers/staging/iio/accel/kxsd9.c +++ b/drivers/iio/accel/kxsd9.c | |||
diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig index fa772a9fb612..e2e786dc9c7b 100644 --- a/drivers/staging/iio/accel/Kconfig +++ b/drivers/staging/iio/accel/Kconfig | |||
@@ -56,13 +56,6 @@ config ADIS16240 | |||
56 | Say yes here to build support for Analog Devices adis16240 programmable | 56 | Say yes here to build support for Analog Devices adis16240 programmable |
57 | impact Sensor and recorder. | 57 | impact Sensor and recorder. |
58 | 58 | ||
59 | config KXSD9 | ||
60 | tristate "Kionix KXSD9 Accelerometer Driver" | ||
61 | depends on SPI | ||
62 | help | ||
63 | Say yes here to build support for the Kionix KXSD9 accelerometer. | ||
64 | Currently this only supports the device via an SPI interface. | ||
65 | |||
66 | config LIS3L02DQ | 59 | config LIS3L02DQ |
67 | tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver" | 60 | tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver" |
68 | depends on SPI | 61 | depends on SPI |
diff --git a/drivers/staging/iio/accel/Makefile b/drivers/staging/iio/accel/Makefile index 8e7ee0368519..1ed137f1a506 100644 --- a/drivers/staging/iio/accel/Makefile +++ b/drivers/staging/iio/accel/Makefile | |||
@@ -20,8 +20,6 @@ obj-$(CONFIG_ADIS16220) += adis16220.o | |||
20 | adis16240-y := adis16240_core.o | 20 | adis16240-y := adis16240_core.o |
21 | obj-$(CONFIG_ADIS16240) += adis16240.o | 21 | obj-$(CONFIG_ADIS16240) += adis16240.o |
22 | 22 | ||
23 | obj-$(CONFIG_KXSD9) += kxsd9.o | ||
24 | |||
25 | lis3l02dq-y := lis3l02dq_core.o | 23 | lis3l02dq-y := lis3l02dq_core.o |
26 | lis3l02dq-$(CONFIG_IIO_BUFFER) += lis3l02dq_ring.o | 24 | lis3l02dq-$(CONFIG_IIO_BUFFER) += lis3l02dq_ring.o |
27 | obj-$(CONFIG_LIS3L02DQ) += lis3l02dq.o | 25 | obj-$(CONFIG_LIS3L02DQ) += lis3l02dq.o |