[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190806070739.2944-1-yamada.masahiro@socionext.com>
Date: Tue, 6 Aug 2019 16:07:38 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] media: rc: add include guard to rc-map.h
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
include/media/rc-map.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index bebd3c4c6338..4e0873f6e853 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -5,6 +5,9 @@
* Copyright (c) 2010 by Mauro Carvalho Chehab
*/
+#ifndef _MEDIA_RC_MAP_H
+#define _MEDIA_RC_MAP_H
+
#include <linux/input.h>
#include <uapi/linux/lirc.h>
@@ -290,3 +293,5 @@ struct rc_map *rc_map_get(const char *name);
* Please, do not just append newer Remote Controller names at the end.
* The names should be ordered in alphabetical order
*/
+
+#endif /* _MEDIA_RC_MAP_H */
--
2.17.1
Powered by blists - more mailing lists