diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-26 09:34:25 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-27 02:35:35 -0400 |
commit | d22cd3016964afdacf27a0d63b65a90393b2e66a (patch) | |
tree | 3a8f6151d4a40705b83d426e4c592e48f094648b /include/video | |
parent | 0268d130ab16668cd32428035ed0bd56bf124239 (diff) |
video: of_display_timing.h: Declare 'display_timing'
Commit ffa3fd21de ("videomode: implement public of_get_display_timing()") causes
the following build warning:
include/video/of_display_timing.h:18:10: warning: 'struct display_timing' declared inside parameter list [enabled by default]
include/video/of_display_timing.h:18:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
Declare 'display_timing' to avoid the build warning.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/of_display_timing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h index 6562ad965889..79e6697af6cf 100644 --- a/include/video/of_display_timing.h +++ b/include/video/of_display_timing.h | |||
@@ -10,6 +10,7 @@ | |||
10 | #define __LINUX_OF_DISPLAY_TIMING_H | 10 | #define __LINUX_OF_DISPLAY_TIMING_H |
11 | 11 | ||
12 | struct device_node; | 12 | struct device_node; |
13 | struct display_timing; | ||
13 | struct display_timings; | 14 | struct display_timings; |
14 | 15 | ||
15 | #define OF_USE_NATIVE_MODE -1 | 16 | #define OF_USE_NATIVE_MODE -1 |