]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: rc: add include guard to rc-map.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Aug 2019 07:07:38 +0000 (04:07 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 14 Aug 2019 08:04:50 +0000 (05:04 -0300)
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>
include/media/rc-map.h

index 3a7f8728f6ec159f3d0e74d45abc5e94732f44e6..32e49dcd1348ff1d010a81d11f4a04710a5f840d 100644 (file)
@@ -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 */