All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] iio:consumer.h: Fix include guard
@ 2012-08-17 15:57 Lars-Peter Clausen
  2012-08-17 15:57 ` [PATCH 2/3] iio: Add missing include guards to headers Lars-Peter Clausen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Lars-Peter Clausen @ 2012-08-17 15:57 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio, Lars-Peter Clausen

The symbol name for the #ifndef and the #define of the include guard do not
match and thus it becomes quite ineffective. Add the missing '_' to fix this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 include/linux/iio/consumer.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h
index e2657e6..06ab4ec 100644
--- a/include/linux/iio/consumer.h
+++ b/include/linux/iio/consumer.h
@@ -8,7 +8,7 @@
  * the Free Software Foundation.
  */
 #ifndef _IIO_INKERN_CONSUMER_H_
-#define _IIO_INKERN_CONSUMER_H
+#define _IIO_INKERN_CONSUMER_H_
 #include <linux/iio/types.h>
 
 struct iio_dev;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-27 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 15:57 [PATCH 1/3] iio:consumer.h: Fix include guard Lars-Peter Clausen
2012-08-17 15:57 ` [PATCH 2/3] iio: Add missing include guards to headers Lars-Peter Clausen
2012-08-27 17:47   ` Jonathan Cameron
2012-08-17 15:57 ` [PATCH 3/3] iio:trigger_consumer.h: Add missing includes and forward declarations Lars-Peter Clausen
2012-08-27 17:47   ` Jonathan Cameron
2012-08-27 17:47 ` [PATCH 1/3] iio:consumer.h: Fix include guard Jonathan Cameron

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.