diff options
author | Daniel Silverstone <dsilvers@simtec.co.uk> | 2009-06-17 16:26:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:44 -0700 |
commit | 77906a546127e056dbdac618a7afb5b92d00c058 (patch) | |
tree | 772f90419a217eb3e73483ba7309a9d85e928d51 /include/linux/i2c | |
parent | 7bfa58dd4ac8b07b28d4d48780fd44ee6215562b (diff) | |
download | op-kernel-dev-77906a546127e056dbdac618a7afb5b92d00c058.zip op-kernel-dev-77906a546127e056dbdac618a7afb5b92d00c058.tar.gz |
pca953x: support GPIOLIB GPIO naming
Add support to the PCA953x driver to use the GPIOLIB naming facility for
GPIOs.
Signed-off-by: Daniel Silverstone <dsilvers@simtec.co.uk>
Cc: Ben Gardner <bgardner@wabtec.com>
Cc: Jean Delvare <khali@linux-fr.org>
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 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/pca953x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/pca953x.h b/include/linux/i2c/pca953x.h index 3c73612..81736d6 100644 --- a/include/linux/i2c/pca953x.h +++ b/include/linux/i2c/pca953x.h @@ -15,4 +15,5 @@ struct pca953x_platform_data { int (*teardown)(struct i2c_client *client, unsigned gpio, unsigned ngpio, void *context); + char **names; }; |