Skip to content

Commit

Permalink
pca953x: minor include cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olof Johansson authored and Linus Torvalds committed Mar 6, 2010
1 parent e952805 commit 62fecb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/linux/i2c/pca953x.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#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 {
Expand All @@ -17,3 +23,5 @@ struct pca953x_platform_data {
void *context);
char **names;
};

#endif /* _LINUX_PCA953X_H */

0 comments on commit 62fecb7

Please sign in to comment.