[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1325497772-1817-1-git-send-email-myungjoo.ham@samsung.com>
Date: Mon, 02 Jan 2012 18:49:32 +0900
From: MyungJoo Ham <myungjoo.ham@...sung.com>
To: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Donggeun Kim <dg77.kim@...sung.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
len.brown@...el.com, pavel@....cz, rjw@...k.pl,
rdunlap@...otime.net, cbouatmailru@...il.com, pali.rohar@...il.com,
prakity@...ell.com, lars@...afoo.de, kyungmin.park@...sung.com,
myungjoo.ham@...il.com
Subject: [PATCH] regulator: add regulator_force_disable() definition for
!CONFIG_REGULATOR
regulator_force_disable() was omitted in consumer.h for
!CONFIG_REGULATOR case.
Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
---
include/linux/regulator/consumer.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index f7756d1..889ab5a 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -212,6 +212,11 @@ static inline int regulator_disable(struct regulator *regulator)
return 0;
}
+static inline int regulator_force_disable(struct regulator *regulator)
+{
+ return 0;
+}
+
static inline int regulator_disable_deferred(struct regulator *regulator,
int ms)
{
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists