/* * Copyright 2012 Steffen Trumtrar * * 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 #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); int of_display_timings_exist(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; } static inline int of_display_timings_exist(const struct device_node *np) { return -ENOSYS; } #endif #endif 0ee5117826'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/net/irda/irda_device.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 11:17:54 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 11:17:54 -0800
commit69973b830859bc6529a7a0468ba0d80ee5117826 (patch)
tree5f11fe15ed9d9a3ab9c92242030e54b73ecdce45 /include/net/irda/irda_device.h
parent2e4333c14de06a333783d6812cf3c4998f78b0c8 (diff)
Linux 4.9
Diffstat (limited to 'include/net/irda/irda_device.h')