Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a68eb156 authored by Narcisa Ana Maria Vasile's avatar Narcisa Ana Maria Vasile Committed by Greg Kroah-Hartman
Browse files

staging: bcm2835-camera: Remove unnecessary blank lines



This patch fixes the checkpatch.pl issue:
CHECK: Please don't use multiple blank lines

Signed-off-by: default avatarNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3302603e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@
/** Implicitly delineated NAL units without emulation prevention */
#define MMAL_ENCODING_VARIANT_H264_RAW       MMAL_FOURCC('R', 'A', 'W', ' ')


/** \defgroup MmalColorSpace List of pre-defined video color spaces
 * This defines a list of common color spaces. This list isn't exhaustive and
 * is only provided as a convenience to avoid clients having to use FourCC
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@

/* MMAL_ES_FORMAT_T */


struct mmal_audio_format {
	u32 channels;           /**< Number of audio channels */
	u32 sample_rate;        /**< Sample rate */
+0 −7
Original line number Diff line number Diff line
@@ -126,7 +126,6 @@ struct mmal_msg_component_destroy_reply {
	u32 status; /** The component destruction status */
};


/* request and reply to VC to enable a component */
struct mmal_msg_component_enable {
	u32 component_handle;
@@ -136,7 +135,6 @@ struct mmal_msg_component_enable_reply {
	u32 status; /** The component enable status */
};


/* request and reply to VC to disable a component */
struct mmal_msg_component_disable {
	u32 component_handle;
@@ -192,7 +190,6 @@ struct mmal_msg_port_info_set_reply {
	u8 extradata[MMAL_FORMAT_EXTRADATA_MAX_SIZE];
};


/* port action requests that take a mmal_port as a parameter */
struct mmal_msg_port_action_port {
	u32 component_handle;
@@ -214,9 +211,6 @@ struct mmal_msg_port_action_reply {
	u32 status; /** The port action operation status */
};




/* MMAL buffer transfer */

/** Size of space reserved in a buffer message for short messages. */
@@ -307,7 +301,6 @@ struct mmal_msg_buffer_from_host {
	u8 short_data[MMAL_VC_SHORT_DATA];
};


/* port parameter setting */

#define MMAL_WORKER_PORT_PARAMETER_SPACE      96
+0 −2
Original line number Diff line number Diff line
@@ -191,7 +191,6 @@ struct mmal_parameter_fps_range {
	struct mmal_parameter_rational	fps_high;
};


/* camera configuration parameter */
struct mmal_parameter_camera_config {
	/* Parameters for setting up the image pools */
@@ -223,7 +222,6 @@ struct mmal_parameter_camera_config {
	s32 use_stc_timestamp;
};


enum mmal_parameter_exposuremode {
	MMAL_PARAM_EXPOSUREMODE_OFF,
	MMAL_PARAM_EXPOSUREMODE_AUTO,
+0 −4
Original line number Diff line number Diff line
@@ -104,7 +104,6 @@ struct vchiq_mmal_component {
	struct vchiq_mmal_port clock[MAX_PORT_COUNT]; /* clock ports */
};


int vchiq_mmal_init(struct vchiq_mmal_instance **out_instance);
int vchiq_mmal_finalise(struct vchiq_mmal_instance *instance);

@@ -128,8 +127,6 @@ int vchiq_mmal_component_disable(
		struct vchiq_mmal_instance *instance,
		struct vchiq_mmal_component *component);



/* enable a mmal port
 *
 * enables a port and if a buffer callback provided enque buffer
@@ -147,7 +144,6 @@ int vchiq_mmal_port_enable(
int vchiq_mmal_port_disable(struct vchiq_mmal_instance *instance,
			   struct vchiq_mmal_port *port);


int vchiq_mmal_port_parameter_set(struct vchiq_mmal_instance *instance,
				  struct vchiq_mmal_port *port,
				  u32 parameter,