summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2013-08-29 15:24:14 -0400
committerOlof Johansson <olof@lixom.net>2013-08-29 12:33:52 -0700
commit5877457a96e5f89567d2eea092ec28db5d55fc06 (patch)
tree18af3e61586a794a10f884de8989035876340c81 /include/linux/i2c
parent8a75f0a07c7aa1e4454c077042ab2b56b72299b9 (diff)
downloadblackbird-op-linux-5877457a96e5f89567d2eea092ec28db5d55fc06.tar.gz
blackbird-op-linux-5877457a96e5f89567d2eea092ec28db5d55fc06.zip
gpio: (gpio-pca953x) move header to linux/platform_data/
This patch moves the pca953x.h header from include/linux/i2c to include/linux/platform_data and updates existing support accordingly. Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/pca953x.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/linux/i2c/pca953x.h b/include/linux/i2c/pca953x.h
deleted file mode 100644
index 3c98dd4f901f..000000000000
--- a/include/linux/i2c/pca953x.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _LINUX_PCA953X_H
-#define _LINUX_PCA953X_H
-
-#include <linux/types.h>
-#include <linux/i2c.h>
-
-/* platform data for the PCA9539 16-bit I/O expander driver */
-
-struct pca953x_platform_data {
- /* number of the first GPIO */
- unsigned gpio_base;
-
- /* initial polarity inversion setting */
- u32 invert;
-
- /* interrupt base */
- int irq_base;
-
- void *context; /* param to setup/teardown */
-
- int (*setup)(struct i2c_client *client,
- unsigned gpio, unsigned ngpio,
- void *context);
- int (*teardown)(struct i2c_client *client,
- unsigned gpio, unsigned ngpio,
- void *context);
- const char *const *names;
-};
-
-#endif /* _LINUX_PCA953X_H */
OpenPOWER on IntegriCloud