Skip to content

Commit

Permalink
[media] v4l2-mc.h: prevent it for being included twice
Browse files Browse the repository at this point in the history
Don't let it be included twice, to avoid compiler issues.

Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Feb 16, 2016
1 parent f7b4b54 commit db15227
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/media/v4l2-mc.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* GNU General Public License for more details.
*/

#ifndef _V4L2_MC_H
#define _V4L2_MC_H

#include <media/media-device.h>

/**
Expand Down Expand Up @@ -136,3 +139,5 @@ struct media_device *v4l2_mc_pci_media_device_init(struct pci_dev *pci_dev,
}

#endif

#endif

0 comments on commit db15227

Please sign in to comment.