d22cd30169
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>
24 lines
552 B
C
24 lines
552 B
C
/*
|
|
* Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
|
|
*
|
|
* display timings of helpers
|
|
*
|
|
* This file is released under the GPLv2
|
|
*/
|
|
|
|
#ifndef __LINUX_OF_DISPLAY_TIMING_H
|
|
#define __LINUX_OF_DISPLAY_TIMING_H
|
|
|
|
struct device_node;
|
|
struct display_timing;
|
|
struct display_timings;
|
|
|
|
#define OF_USE_NATIVE_MODE -1
|
|
|
|
int of_get_display_timing(struct device_node *np, const char *name,
|
|
struct display_timing *dt);
|
|
struct display_timings *of_get_display_timings(struct device_node *np);
|
|
int of_display_timings_exist(struct device_node *np);
|
|
|
|
#endif
|