diff mbox

PCA953x : Fix compilation warning.

Message ID 1267104758-32131-1-git-send-email-srk@ti.com (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Sriram Feb. 25, 2010, 1:32 p.m. UTC
None
diff mbox

Patch

diff --git a/include/linux/i2c/pca953x.h b/include/linux/i2c/pca953x.h
index 81736d6..1284a2d 100644
--- a/include/linux/i2c/pca953x.h
+++ b/include/linux/i2c/pca953x.h
@@ -1,3 +1,8 @@ 
+#ifndef __LINUX_PCA953X_H
+#define __LINUX_PCA953X_H
+
+#include <linux/i2c.h>
+
 /* platform data for the PCA9539 16-bit I/O expander driver */
 
 struct pca953x_platform_data {
@@ -17,3 +22,4 @@  struct pca953x_platform_data {
 				void *context);
 	char		**names;
 };
+#endif