summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-06 04:07:38 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-14 05:04:50 -0300
commit92ffdb61f65d5d27bc750b6249c381c89767aaba (patch)
treeafc66c73b8b16ffd54147f25dbe21b712e9853cc
parent247d46b3ef7560c956cb0886f20d65974eb7c9ff (diff)
downloadlinux-0-day-92ffdb61f65d5d27bc750b6249c381c89767aaba.tar.gz
linux-0-day-92ffdb61f65d5d27bc750b6249c381c89767aaba.tar.xz
media: rc: add include guard to rc-map.h
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--include/media/rc-map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index 3a7f8728f6ec..32e49dcd1348 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>
@@ -274,3 +277,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 */