From: Mauro Carvalho Chehab Date: Fri, 12 Feb 2016 09:35:44 +0000 (-0200) Subject: [media] v4l2-mc.h: prevent it for being included twice X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db152276ce720baadcbd6bccebbeb17da001d312;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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 /** @@ -136,3 +139,5 @@ struct media_device *v4l2_mc_pci_media_device_init(struct pci_dev *pci_dev, } #endif + +#endif