Commit 62fecb70 authored by Olof Johansson's avatar Olof Johansson Committed by Linus Torvalds

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: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e952805d
#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 */ /* platform data for the PCA9539 16-bit I/O expander driver */
struct pca953x_platform_data { struct pca953x_platform_data {
...@@ -17,3 +23,5 @@ struct pca953x_platform_data { ...@@ -17,3 +23,5 @@ struct pca953x_platform_data {
void *context); void *context);
char **names; char **names;
}; };
#endif /* _LINUX_PCA953X_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment