omapfb: panel-tpo-td028ttec1: Remove legacy boot support
[deliverable/linux.git] / include / video / of_display_timing.h
CommitLineData
cc3f414c
ST
1/*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 *
4 * display timings of helpers
5 *
6 * This file is released under the GPLv2
7 */
8
9#ifndef __LINUX_OF_DISPLAY_TIMING_H
10#define __LINUX_OF_DISPLAY_TIMING_H
11
12struct device_node;
d22cd301 13struct display_timing;
cc3f414c
ST
14struct display_timings;
15
16#define OF_USE_NATIVE_MODE -1
17
422b67e0 18#ifdef CONFIG_OF
ffa3fd21
TV
19int of_get_display_timing(struct device_node *np, const char *name,
20 struct display_timing *dt);
cc3f414c
ST
21struct display_timings *of_get_display_timings(struct device_node *np);
22int of_display_timings_exist(struct device_node *np);
422b67e0
TV
23#else
24static inline int of_get_display_timing(struct device_node *np, const char *name,
25 struct display_timing *dt)
26{
27 return -ENOSYS;
28}
29static inline struct display_timings *of_get_display_timings(struct device_node *np)
30{
31 return NULL;
32}
33static inline int of_display_timings_exist(struct device_node *np)
34{
35 return -ENOSYS;
36}
37#endif
cc3f414c
ST
38
39#endif
This page took 0.168643 seconds and 5 git commands to generate.