summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-12 09:35:44 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-16 10:29:24 (GMT)
commitdb152276ce720baadcbd6bccebbeb17da001d312 (patch)
treef75351b04cfb89b186282c2a7f15f9f88d878cf2 /include/media
parentf7b4b54e63643b740c598e044874c4bffa0f04f2 (diff)
downloadlinux-db152276ce720baadcbd6bccebbeb17da001d312.tar.xz
[media] v4l2-mc.h: prevent it for being included twice
Don't let it be included twice, to avoid compiler issues. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-mc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/v4l2-mc.h b/include/media/v4l2-mc.h
index 6fad972..20f1ee2 100644
--- a/include/media/v4l2-mc.h
+++ b/include/media/v4l2-mc.h
@@ -14,6 +14,9 @@
* GNU General Public License for more details.
*/
+#ifndef _V4L2_MC_H
+#define _V4L2_MC_H
+
#include <media/media-device.h>
/**
@@ -136,3 +139,5 @@ struct media_device *v4l2_mc_pci_media_device_init(struct pci_dev *pci_dev,
}
#endif
+
+#endif