diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-10-12 10:57:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-17 15:25:28 -0700 |
commit | 3e2c96eab9278317569e2baf165f71042c927712 (patch) | |
tree | 631d28b40256def60f59c27eb083723532fac78a /drivers/staging/iio/gyro | |
parent | 41098f8f1473cf853125d2fde2ce936879ef1adc (diff) | |
download | linux-3e2c96eab9278317569e2baf165f71042c927712.tar.gz linux-3e2c96eab9278317569e2baf165f71042c927712.tar.bz2 linux-3e2c96eab9278317569e2baf165f71042c927712.zip |
staging:iio: gpio build dependency fixing
Numerous drivers either had pointless includes of gpio.h
or should have been dependent on GENERIC_GPIO and were not.
Conversion of ads1210 to use array registration triggered
build failures that highlighted all was not well.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/gyro')
-rw-r--r-- | drivers/staging/iio/gyro/adis16080_core.c | 1 | ||||
-rw-r--r-- | drivers/staging/iio/gyro/adis16260_core.c | 1 | ||||
-rw-r--r-- | drivers/staging/iio/gyro/adxrs450_core.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/gyro/adis16080_core.c b/drivers/staging/iio/gyro/adis16080_core.c index 07b013a11590..1ca4506a6667 100644 --- a/drivers/staging/iio/gyro/adis16080_core.c +++ b/drivers/staging/iio/gyro/adis16080_core.c @@ -5,7 +5,6 @@ * * Licensed under the GPL-2 or later. */ -#include <linux/gpio.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> diff --git a/drivers/staging/iio/gyro/adis16260_core.c b/drivers/staging/iio/gyro/adis16260_core.c index dc440d15f86a..ccbf2262c4c7 100644 --- a/drivers/staging/iio/gyro/adis16260_core.c +++ b/drivers/staging/iio/gyro/adis16260_core.c @@ -8,7 +8,6 @@ #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/gpio.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> diff --git a/drivers/staging/iio/gyro/adxrs450_core.c b/drivers/staging/iio/gyro/adxrs450_core.c index 1fda3db1739e..912baa15c8c2 100644 --- a/drivers/staging/iio/gyro/adxrs450_core.c +++ b/drivers/staging/iio/gyro/adxrs450_core.c @@ -8,7 +8,6 @@ #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/gpio.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> |