/* * internal.h -- Voltage/Current Regulator framework internal code * * Copyright 2007, 2008 Wolfson Microelectronics PLC. * Copyright 2008 SlimLogic Ltd. * * Author: Liam Girdwood <lrg@slimlogic.co.uk> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * */#ifndef __REGULATOR_INTERNAL_H#define __REGULATOR_INTERNAL_H/* * struct regulator * * One for each consumer device. */structregulator{structdevice*dev;structlist_headlist;unsignedintalways_on:1;unsignedintbypass:1;intuA_load;intmin_uV;intmax_uV;char*supply_name;structdevice_attributedev_attr;structregulator_dev*rdev;structdentry*debugfs;};#endif