https://github.com/torvalds/linux
Raw File
Tip revision: d65b4e98d7ea3038b767b70fe8be959b2913f16d authored by Linus Torvalds on 09 February 2012, 03:21:53 UTC
Linux 3.3-rc3
Tip revision: d65b4e9
of_regulator.h
/*
 * OpenFirmware regulator support routines
 *
 */

#ifndef __LINUX_OF_REG_H
#define __LINUX_OF_REG_H

#if defined(CONFIG_OF)
extern struct regulator_init_data
	*of_get_regulator_init_data(struct device *dev,
				    struct device_node *node);
#else
static inline struct regulator_init_data
	*of_get_regulator_init_data(struct device *dev,
				    struct device_node *node)
{
	return NULL;
}
#endif /* CONFIG_OF */

#endif /* __LINUX_OF_REG_H */
back to top