1
0
Files
kernel-49/include/video/of_display_timing.h
Greg Kroah-Hartman f2ff8b67de Merge 4.9.323 into android-4.9-q
Changes in 4.9.323
	mm/slub: add missing TID updates on slab deactivation
	can: grcan: grcan_probe(): remove extra of_node_get()
	can: gs_usb: gs_usb_open/close(): fix memory leak
	usbnet: fix memory leak in error case
	net: rose: fix UAF bug caused by rose_t0timer_expiry
	iommu/vt-d: Fix PCI bus rescan device hot add
	video: of_display_timing.h: include errno.h
	xfs: remove incorrect ASSERT in xfs_rename
	pinctrl: sunxi: a83t: Fix NAND function name for some pins
	i2c: cadence: Unregister the clk notifier in error path
	ida: don't use BUG_ON() for debugging
	dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
	dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
	dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
	Linux 4.9.323

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0a0ef5dbd604cb266fa242c95e0868ab89fc1319
2022-07-12 22:35:54 +03:00

42 lines
931 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
#include <linux/errno.h>
struct device_node;
struct display_timing;
struct display_timings;
#define OF_USE_NATIVE_MODE -1
#ifdef CONFIG_OF
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);
#else
static inline int of_get_display_timing(struct device_node *np, const char *name,
struct display_timing *dt)
{
return -ENOSYS;
}
static inline struct display_timings *of_get_display_timings(struct device_node *np)
{
return NULL;
}
static inline int of_display_timings_exist(struct device_node *np)
{
return -ENOSYS;
}
#endif
#endif