diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-09-22 19:46:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:48 -0400 |
commit | d120c17faeb391f5b4b99af8b1e190619934ecdd (patch) | |
tree | 8613dad9f9e504b57906f33650cd00c52a446414 /drivers/gpio/pca953x.c | |
parent | 61e0671c6740273663f35357987a2f7aa27479ca (diff) |
gpio: include <linux/gpio.h> not <asm/gpio.h>
Drivers should be including <linux/gpio.h> not <asm/gpio.h>.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/pca953x.c')
-rw-r--r-- | drivers/gpio/pca953x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index 8ab1308bec20..6a2fb3fbb3d9 100644 --- a/drivers/gpio/pca953x.c +++ b/drivers/gpio/pca953x.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/gpio.h> | ||
16 | #include <linux/i2c.h> | 17 | #include <linux/i2c.h> |
17 | #include <linux/i2c/pca953x.h> | 18 | #include <linux/i2c/pca953x.h> |
18 | #ifdef CONFIG_OF_GPIO | 19 | #ifdef CONFIG_OF_GPIO |
@@ -20,8 +21,6 @@ | |||
20 | #include <linux/of_gpio.h> | 21 | #include <linux/of_gpio.h> |
21 | #endif | 22 | #endif |
22 | 23 | ||
23 | #include <asm/gpio.h> | ||
24 | |||
25 | #define PCA953X_INPUT 0 | 24 | #define PCA953X_INPUT 0 |
26 | #define PCA953X_OUTPUT 1 | 25 | #define PCA953X_OUTPUT 1 |
27 | #define PCA953X_INVERT 2 | 26 | #define PCA953X_INVERT 2 |