Commit 82eeffd7 authored by Pavel Machek's avatar Pavel Machek Committed by James Toy

Fix checkpatch warnings in HTC Dream display driver.

Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: Brian Swetland <swetland@google.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Rebecca Schultz Zavin <rebecca@android.com>
Cc: Dima Zavin <dima@android.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 73a03133
...@@ -199,7 +199,7 @@ struct __attribute__((packed)) mddi_video_stream { ...@@ -199,7 +199,7 @@ struct __attribute__((packed)) mddi_video_stream {
uint16_t client_id; /* 0 */ uint16_t client_id; /* 0 */
uint16_t video_data_format_descriptor; uint16_t video_data_format_descriptor;
/* format of each pixel in the Pixel Data in the present stream in the /* format of each pixel in the Pixel Data in the present stream in the
* present packet. * present packet.
* If bits [15:13] = 000 monochrome * If bits [15:13] = 000 monochrome
* If bits [15:13] = 001 color pixels (palette). * If bits [15:13] = 001 color pixels (palette).
...@@ -209,7 +209,7 @@ struct __attribute__((packed)) mddi_video_stream { ...@@ -209,7 +209,7 @@ struct __attribute__((packed)) mddi_video_stream {
*/ */
uint16_t pixel_data_attributes; uint16_t pixel_data_attributes;
/* interpreted as follows: /* interpreted as follows:
* Bits [1:0] = 11 pixel data is displayed to both eyes * Bits [1:0] = 11 pixel data is displayed to both eyes
* Bits [1:0] = 10 pixel data is routed to the left eye only. * Bits [1:0] = 10 pixel data is routed to the left eye only.
* Bits [1:0] = 01 pixel data is routed to the right eye only. * Bits [1:0] = 01 pixel data is routed to the right eye only.
...@@ -239,11 +239,13 @@ struct __attribute__((packed)) mddi_video_stream { ...@@ -239,11 +239,13 @@ struct __attribute__((packed)) mddi_video_stream {
uint16_t x_right_edge; uint16_t x_right_edge;
uint16_t y_bottom_edge; uint16_t y_bottom_edge;
/* X,Y coordinate of the bottom right edge of the window being updated. */ /* X,Y coordinate of the bottom right edge of the window being
* updated. */
uint16_t x_start; uint16_t x_start;
uint16_t y_start; uint16_t y_start;
/* (X Start, Y Start) is the first pixel in the Pixel Data field below. */ /* (X Start, Y Start) is the first pixel in the Pixel Data field
* below. */
uint16_t pixel_count; uint16_t pixel_count;
/* number of pixels in the Pixel Data field below. */ /* number of pixels in the Pixel Data field below. */
......
This diff is collapsed.
...@@ -31,8 +31,8 @@ enum { ...@@ -31,8 +31,8 @@ enum {
MDP_DOWNSCALE_MAX, MDP_DOWNSCALE_MAX,
}; };
extern struct mdp_table_entry* mdp_downscale_x_table[MDP_DOWNSCALE_MAX]; extern struct mdp_table_entry *mdp_downscale_x_table[MDP_DOWNSCALE_MAX];
extern struct mdp_table_entry* mdp_downscale_y_table[MDP_DOWNSCALE_MAX]; extern struct mdp_table_entry *mdp_downscale_y_table[MDP_DOWNSCALE_MAX];
extern struct mdp_table_entry mdp_gaussian_blur_table[]; extern struct mdp_table_entry mdp_gaussian_blur_table[];
#endif //_MDP_SCALE_TABLES_H_ #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