diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-10 07:12:14 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-05 01:33:30 -0500 |
commit | d8d789416aa71253c6532c9adc7469cb947031f6 (patch) | |
tree | f918421f7f59ccbe8753572b270d241d9cfccede /include/video | |
parent | eba358435b21520a93180ec3021754c0e387b1f7 (diff) |
OMAPDSS: convert pixel clock to common videomode style
omapdss has its own video-timings struct, but we want to move the common
videomode.
The first step is to change the omapdss's pixelclock unit from kHz to
Hz. Also, omapdss uses "pixel_clock" field name, whereas the common
videomode uses "pixelclock" field name. This patch changes the field
name also, as that makes it easy to spot any non-converted pixel_clock
uses.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 1eb9aa605eee..24f3a57022b8 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -343,8 +343,8 @@ struct omap_video_timings { | |||
343 | u16 x_res; | 343 | u16 x_res; |
344 | /* Unit: pixels */ | 344 | /* Unit: pixels */ |
345 | u16 y_res; | 345 | u16 y_res; |
346 | /* Unit: KHz */ | 346 | /* Unit: Hz */ |
347 | u32 pixel_clock; | 347 | u32 pixelclock; |
348 | /* Unit: pixel clocks */ | 348 | /* Unit: pixel clocks */ |
349 | u16 hsw; /* Horizontal synchronization pulse width */ | 349 | u16 hsw; /* Horizontal synchronization pulse width */ |
350 | /* Unit: pixel clocks */ | 350 | /* Unit: pixel clocks */ |