diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-12 10:35:44 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-16 11:29:24 +0100 |
commit | db152276ce720baadcbd6bccebbeb17da001d312 (patch) | |
tree | f75351b04cfb89b186282c2a7f15f9f88d878cf2 /include/media/v4l2-mc.h | |
parent | [media] tvp5150: add HW input connectors support (diff) | |
download | linux-db152276ce720baadcbd6bccebbeb17da001d312.tar.xz linux-db152276ce720baadcbd6bccebbeb17da001d312.zip |
[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/v4l2-mc.h')
-rw-r--r-- | include/media/v4l2-mc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/v4l2-mc.h b/include/media/v4l2-mc.h index 6fad97277a0b..20f1ee285947 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 |