mirror of
https://github.com/openharmony/third_party_Linux_Kernel.git
synced 2026-08-25 13:09:54 -04:00
7a09b52600
Change-Id: I8420a745de2a76dd4c0ea79b24da12653cbe7b52
26 lines
636 B
C
26 lines
636 B
C
#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_ */
|