arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
[linux/fpc-iii.git] / include / video / of_display_timing.h
blobbb29e5954000693c441b8d800ca531c6e05b3b4b
1 /*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4 * display timings of helpers
6 * This file is released under the GPLv2
7 */
9 #ifndef __LINUX_OF_DISPLAY_TIMING_H
10 #define __LINUX_OF_DISPLAY_TIMING_H
12 struct device_node;
13 struct display_timing;
14 struct display_timings;
16 #define OF_USE_NATIVE_MODE -1
18 #ifdef CONFIG_OF
19 int of_get_display_timing(const struct device_node *np, const char *name,
20 struct display_timing *dt);
21 struct display_timings *of_get_display_timings(const struct device_node *np);
22 #else
23 static inline int of_get_display_timing(const struct device_node *np,
24 const char *name, struct display_timing *dt)
26 return -ENOSYS;
28 static inline struct display_timings *
29 of_get_display_timings(const struct device_node *np)
31 return NULL;
33 #endif
35 #endif