Commit 514a6ab1 authored by Dave Stevenson's avatar Dave Stevenson Committed by Greg Kroah-Hartman

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: default avatarDave Stevenson <[email protected]>
Signed-off-by: Eric Anholt's avatarEric Anholt <[email protected]>
Signed-off-by: default avatarGreg Kroah-Hartman <[email protected]>
parent 93841670
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
* @{ * @{
*/ */
#ifndef __MMAL_PARAMETERS_H
#define __MMAL_PARAMETERS_H
/** Common parameter ID group, used with many types of component. */ /** Common parameter ID group, used with many types of component. */
#define MMAL_PARAMETER_GROUP_COMMON (0<<16) #define MMAL_PARAMETER_GROUP_COMMON (0<<16)
/** Camera-specific parameter ID group. */ /** Camera-specific parameter ID group. */
...@@ -682,3 +685,5 @@ struct mmal_parameter_camera_info_t { ...@@ -682,3 +685,5 @@ struct mmal_parameter_camera_info_t {
struct mmal_parameter_camera_info_flash_t struct mmal_parameter_camera_info_flash_t
flashes[MMAL_PARAMETER_CAMERA_INFO_MAX_FLASHES]; flashes[MMAL_PARAMETER_CAMERA_INFO_MAX_FLASHES];
}; };
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment