[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190806071420.13573-1-yamada.masahiro@socionext.com>
Date: Tue, 6 Aug 2019 16:14:20 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Miguel Ojeda Sandonis <miguel.ojeda.sandonis@...il.com>
Cc: linux-kernel@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>
Subject: [PATCH] auxdisplay: charlcd: add include guard to charlcd.h
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
drivers/auxdisplay/charlcd.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/auxdisplay/charlcd.h b/drivers/auxdisplay/charlcd.h
index 8cf6c18b0adb..00911ad0f3de 100644
--- a/drivers/auxdisplay/charlcd.h
+++ b/drivers/auxdisplay/charlcd.h
@@ -6,6 +6,9 @@
* Copyright (C) 2016-2017 Glider bvba
*/
+#ifndef _CHARLCD_H
+#define _CHARLCD_H
+
struct charlcd {
const struct charlcd_ops *ops;
const unsigned char *char_conv; /* Optional */
@@ -37,3 +40,5 @@ int charlcd_register(struct charlcd *lcd);
int charlcd_unregister(struct charlcd *lcd);
void charlcd_poke(struct charlcd *lcd);
+
+#endif /* CHARLCD_H */
--
2.17.1
Powered by blists - more mailing lists