1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __REGULATOR_PLATFORM_CONSUMER_H_
3 #define __REGULATOR_PLATFORM_CONSUMER_H_
5 struct regulator_consumer_supply
;
8 * struct regulator_userspace_consumer_data - line consumer
11 * @name: Name for the consumer line
12 * @num_supplies: Number of supplies feeding the line
13 * @supplies: Supplies configuration.
14 * @init_on: Set if the regulators supplying the line should be
15 * enabled during initialisation
17 struct regulator_userspace_consumer_data
{
21 struct regulator_bulk_data
*supplies
;
26 #endif /* __REGULATOR_PLATFORM_CONSUMER_H_ */