From 34a1ba186900a10e8ce156e980d86c989804f2e5 Mon Sep 17 00:00:00 2001 From: roald Date: Mon, 13 Jul 2009 17:25:21 +0800 Subject: [PATCH] --- yaml --- r: 165377 b: refs/heads/master c: ed6543243a1c557dbe2005a86f6d8e851c1ebb79 h: refs/heads/master i: 165375: f5d0b400dafbcd03b682d82c569ed89b7bd74806 v: v3 --- [refs] | 2 +- trunk/include/linux/regulator/machine.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e60250a2f1bd..b2cff8c5e247 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e88267e1646037fa2c155515c78bd01a5c81f058 +refs/heads/master: ed6543243a1c557dbe2005a86f6d8e851c1ebb79 diff --git a/trunk/include/linux/regulator/machine.h b/trunk/include/linux/regulator/machine.h index 73a88f6cbb1c..99a4e2eb36aa 100644 --- a/trunk/include/linux/regulator/machine.h +++ b/trunk/include/linux/regulator/machine.h @@ -141,6 +141,13 @@ struct regulator_consumer_supply { const char *supply; /* consumer supply - e.g. "vcc" */ }; +/* Initialize struct regulator_consumer_supply */ +#define REGULATOR_SUPPLY(_name, _dev_name) \ +{ \ + .supply = _name, \ + .dev_name = _dev_name, \ +} + /** * struct regulator_init_data - regulator platform initialisation data. *