libertas sdio: claim device before calling sdio_disable_func()
[linux-2.6/btrfs-unstable.git] / drivers / regulator / internal.h
blob84bbda10c396bc89dfb0c0130b22847a16594a25
1 /*
2 * internal.h -- Voltage/Current Regulator framework internal code
4 * Copyright 2007, 2008 Wolfson Microelectronics PLC.
5 * Copyright 2008 SlimLogic Ltd.
7 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
16 #ifndef __REGULATOR_INTERNAL_H
17 #define __REGULATOR_INTERNAL_H
20 * struct regulator
22 * One for each consumer device.
24 struct regulator {
25 struct device *dev;
26 struct list_head list;
27 unsigned int always_on:1;
28 unsigned int bypass:1;
29 int uA_load;
30 int min_uV;
31 int max_uV;
32 char *supply_name;
33 struct device_attribute dev_attr;
34 struct regulator_dev *rdev;
35 struct dentry *debugfs;
38 #endif