Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165377
b: refs/heads/master
c: ed65432
h: refs/heads/master
i:
  165375: f5d0b40
v: v3
  • Loading branch information
roald authored and Liam Girdwood committed Sep 22, 2009
1 parent 4615db9 commit 34a1ba1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e88267e1646037fa2c155515c78bd01a5c81f058
refs/heads/master: ed6543243a1c557dbe2005a86f6d8e851c1ebb79
7 changes: 7 additions & 0 deletions trunk/include/linux/regulator/machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 34a1ba1

Please sign in to comment.