]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/kernel/omap/panda/0008-Revert-regulator-twl-Remove-another-unused-variable-.patch
snort: Update urls for rules download (2.9.7.0) in 'ids.cgi'
[ipfire-2.x.git] / src / patches / kernel / omap / panda / 0008-Revert-regulator-twl-Remove-another-unused-variable-.patch
CommitLineData
d006af40
AF
1From 48e4598f1b8e9dd486d551b76c5f5021d0dc946d Mon Sep 17 00:00:00 2001
2From: Robert Nelson <robertcnelson@gmail.com>
3Date: Sat, 1 Jun 2013 16:32:48 -0500
4Subject: [PATCH 08/10] Revert "regulator: twl: Remove another unused variable
5 warning"
6
7This reverts commit 029dd3cefa46ecdd879f9b4e2df3bdf4371cc22c.
8
9Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
10---
11 drivers/regulator/twl-regulator.c | 7 +++++++
12 1 file changed, 7 insertions(+)
13
14diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
15index 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--
331.7.10.4
34