mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
Based on 1 normalized pattern(s): this file is released under the gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 68 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190114.292346262@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
788 B
C
34 lines
788 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
|
|
*
|
|
* display timings of helpers
|
|
*/
|
|
|
|
#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
|
|
|
|
#ifdef CONFIG_OF
|
|
int of_get_display_timing(const struct device_node *np, const char *name,
|
|
struct display_timing *dt);
|
|
struct display_timings *of_get_display_timings(const struct device_node *np);
|
|
#else
|
|
static inline int of_get_display_timing(const struct device_node *np,
|
|
const char *name, struct display_timing *dt)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
static inline struct display_timings *
|
|
of_get_display_timings(const struct device_node *np)
|
|
{
|
|
return NULL;
|
|
}
|
|
#endif
|
|
|
|
#endif
|