https://github.com/torvalds/linux
Raw File
Tip revision: dcd6c92267155e70a94b3927bce681ce74b80d1f authored by Linus Torvalds on 19 January 2012, 23:04:48 UTC
Linux 3.3-rc1
Tip revision: dcd6c92
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