aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2010-03-05 16:44:34 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 14:26:48 -0500
commit62fecb70cfaa9b4c6aa1981acd53b18f4ad925f0 (patch)
treea74c1d96c9af8d9602e6ab85bf9b2ef6429ba92b /include/linux/i2c
parente952805d2d2e706aed182723e5ab3ec0b1f91de3 (diff)
pca953x: minor include cleanup
linux/i2c/pca953x.h is a very bare include file. Fix check for multiple includes of linux/i2c/pca953x.h, and add dependent includes into the header file. Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/i2c/pca953x.h b/include/linux/i2c/pca953x.h
index 81736d6a8db7..29699f8dc5a4 100644
--- a/include/linux/i2c/pca953x.h
+++ b/include/linux/i2c/pca953x.h
@@ -1,3 +1,9 @@
1#ifndef _LINUX_PCA953X_H
2#define _LINUX_PCA953X_H
3
4#include <linux/types.h>
5#include <linux/i2c.h>
6
1/* platform data for the PCA9539 16-bit I/O expander driver */ 7/* platform data for the PCA9539 16-bit I/O expander driver */
2 8
3struct pca953x_platform_data { 9struct pca953x_platform_data {
@@ -17,3 +23,5 @@ struct pca953x_platform_data {
17 void *context); 23 void *context);
18 char **names; 24 char **names;
19}; 25};
26
27#endif /* _LINUX_PCA953X_H */