diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-12 07:35:44 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-16 08:29:24 -0200 |
commit | db152276ce720baadcbd6bccebbeb17da001d312 (patch) | |
tree | f75351b04cfb89b186282c2a7f15f9f88d878cf2 /include/media | |
parent | f7b4b54e63643b740c598e044874c4bffa0f04f2 (diff) | |
download | linux-db152276ce720baadcbd6bccebbeb17da001d312.tar.gz linux-db152276ce720baadcbd6bccebbeb17da001d312.tar.bz2 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')
-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 |