diff mbox series

media: rc: add include guard to rc-map.h

Message ID 20190806070739.2944-1-yamada.masahiro@socionext.com
State Accepted
Commit 92ffdb61f65d5d27bc750b6249c381c89767aaba
Headers show
Series media: rc: add include guard to rc-map.h | expand

Commit Message

Masahiro Yamada Aug. 6, 2019, 7:07 a.m. UTC
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 include/media/rc-map.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.17.1
diff mbox series

Patch

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 */