Files
bpfire/src/patches/kernel/omap/panda/0008-Revert-regulator-twl-Remove-another-unused-variable-.patch
2014-02-14 23:41:13 +01:00

35 lines
1013 B
Diff

From 48e4598f1b8e9dd486d551b76c5f5021d0dc946d Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Sat, 1 Jun 2013 16:32:48 -0500
Subject: [PATCH 08/10] Revert "regulator: twl: Remove another unused variable
warning"
This reverts commit 029dd3cefa46ecdd879f9b4e2df3bdf4371cc22c.
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
drivers/regulator/twl-regulator.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 7ce7edf..124a2f2 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -633,6 +633,13 @@ static struct regulator_ops twl6030fixed_ops = {
.get_status = twl6030reg_get_status,
};
+static struct regulator_ops twl6030_fixed_resource = {
+ .enable = twl6030reg_enable,
+ .disable = twl6030reg_disable,
+ .is_enabled = twl6030reg_is_enabled,
+ .get_status = twl6030reg_get_status,
+};
+
/*
* SMPS status and control
*/
--
1.7.10.4