Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: a121103c922847ba5010819a3f250f1f7fc84ab8 authored by Linus Torvalds on 08 January 2017, 22:18:17 UTC
Linux 4.10-rc3
Tip revision: a121103
userspace-consumer.h
#ifndef __REGULATOR_PLATFORM_CONSUMER_H_
#define __REGULATOR_PLATFORM_CONSUMER_H_

struct regulator_consumer_supply;

/**
 * struct regulator_userspace_consumer_data - line consumer
 * initialisation data.
 *
 * @name: Name for the consumer line
 * @num_supplies: Number of supplies feeding the line
 * @supplies: Supplies configuration.
 * @init_on: Set if the regulators supplying the line should be
 *           enabled during initialisation
 */
struct regulator_userspace_consumer_data {
	const char *name;

	int num_supplies;
	struct regulator_bulk_data *supplies;

	bool init_on;
};

#endif /* __REGULATOR_PLATFORM_CONSUMER_H_ */
back to top