/* * 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 input type='hidden' name='id' value='dab780a3b489b038a47d8fbbc49c33aae1e7a682'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/soc/tegra/pm.h
diff options
context:
space:
mode:
authorNicolae Rosia <Nicolae_Rosia@mentor.com>2016-11-12 14:42:14 +0200
committerMark Brown <broonie@kernel.org>2016-11-16 18:03:39 +0000
commitdab780a3b489b038a47d8fbbc49c33aae1e7a682 (patch)
treec9599a6970c187f95f7875d2a3e948f05cef1e45 /include/soc/tegra/pm.h
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: twl-regulator: rework fixed regulator definition
TWL603X and TWL4030 are different and have different code logic. Rework the regulator definition method so we can split the file easily in twl4030 and twl6030. Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/soc/tegra/pm.h')