Skip to content

Commit

Permalink
video: of_display_timing.h: Declare 'display_timing'
Browse files Browse the repository at this point in the history
Commit ffa3fd2 ("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>
  • Loading branch information
Fabio Estevam authored and Tomi Valkeinen committed Jun 27, 2013
1 parent 0268d13 commit d22cd30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/video/of_display_timing.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define __LINUX_OF_DISPLAY_TIMING_H

struct device_node;
struct display_timing;
struct display_timings;

#define OF_USE_NATIVE_MODE -1
Expand Down

0 comments on commit d22cd30

Please sign in to comment.