* + pca953x-minor-include-cleanup.patch added to -mm tree
@ 2010-01-08 21:40 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-01-08 21:40 UTC (permalink / raw)
To: mm-commits; +Cc: olof, david-b, khali, w.sang
The patch titled
pca953x: minor include cleanup
has been added to the -mm tree. Its filename is
pca953x-minor-include-cleanup.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: pca953x: minor include cleanup
From: Olof Johansson <olof@lixom.net>
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>
---
include/linux/i2c/pca953x.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff -puN include/linux/i2c/pca953x.h~pca953x-minor-include-cleanup include/linux/i2c/pca953x.h
--- a/include/linux/i2c/pca953x.h~pca953x-minor-include-cleanup
+++ a/include/linux/i2c/pca953x.h
@@ -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 {
@@ -17,3 +23,5 @@ struct pca953x_platform_data {
void *context);
char **names;
};
+
+#endif /* _LINUX_PCA953X_H */
_
Patches currently in -mm which might be from olof@lixom.net are
linux-next.patch
pca953x-minor-include-cleanup.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-08 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08 21:40 + pca953x-minor-include-cleanup.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.