]>
Commit | Line | Data |
---|---|---|
d006af40 AF |
1 | From 48e4598f1b8e9dd486d551b76c5f5021d0dc946d Mon Sep 17 00:00:00 2001 |
2 | From: Robert Nelson <robertcnelson@gmail.com> | |
3 | Date: Sat, 1 Jun 2013 16:32:48 -0500 | |
4 | Subject: [PATCH 08/10] Revert "regulator: twl: Remove another unused variable | |
5 | warning" | |
6 | ||
7 | This reverts commit 029dd3cefa46ecdd879f9b4e2df3bdf4371cc22c. | |
8 | ||
9 | Signed-off-by: Robert Nelson <robertcnelson@gmail.com> | |
10 | --- | |
11 | drivers/regulator/twl-regulator.c | 7 +++++++ | |
12 | 1 file changed, 7 insertions(+) | |
13 | ||
14 | diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c | |
15 | index 7ce7edf..124a2f2 100644 | |
16 | --- a/drivers/regulator/twl-regulator.c | |
17 | +++ b/drivers/regulator/twl-regulator.c | |
18 | @@ -633,6 +633,13 @@ static struct regulator_ops twl6030fixed_ops = { | |
19 | .get_status = twl6030reg_get_status, | |
20 | }; | |
21 | ||
22 | +static struct regulator_ops twl6030_fixed_resource = { | |
23 | + .enable = twl6030reg_enable, | |
24 | + .disable = twl6030reg_disable, | |
25 | + .is_enabled = twl6030reg_is_enabled, | |
26 | + .get_status = twl6030reg_get_status, | |
27 | +}; | |
28 | + | |
29 | /* | |
30 | * SMPS status and control | |
31 | */ | |
32 | -- | |
33 | 1.7.10.4 | |
34 |