staging: bcm2835-camera: Add multiple include protection

mmal-parameters.h didn't have the normal

...

protection to stop it being included multiple times.  Add it.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dave Stevenson 2018-05-10 12:42:12 -07:00 committed by Greg Kroah-Hartman
parent 9384167070
commit 514a6ab198
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,9 @@
* @{
*/
#ifndef __MMAL_PARAMETERS_H
#define __MMAL_PARAMETERS_H
/** Common parameter ID group, used with many types of component. */
#define MMAL_PARAMETER_GROUP_COMMON (0<<16)
/** Camera-specific parameter ID group. */
@ -682,3 +685,5 @@ struct mmal_parameter_camera_info_t {
struct mmal_parameter_camera_info_flash_t
flashes[MMAL_PARAMETER_CAMERA_INFO_MAX_FLASHES];
};
#endif