Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282149
b: refs/heads/master
c: 2375019
h: refs/heads/master
i:
  282147: 7ff20dc
v: v3
  • Loading branch information
Linus Walleij committed Jan 3, 2012
1 parent e86d742 commit 565f616
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 51cd24ee625c348654114032499914d0311e5832
refs/heads/master: 23750196ef472e9249958d5165b0bb292518c710
9 changes: 9 additions & 0 deletions trunk/include/linux/pinctrl/machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ struct pinmux_map {
{ .name = a, .ctrl_dev_name = b, .function = c, \
.hog_on_boot = true }

/*
* Convenience macro to map a system function onto a certain pinctrl device
* using a specified group, to be hogged by the pinmux core until the system
* shuts down.
*/
#define PINMUX_MAP_SYS_HOG_GROUP(a, b, c, d) \
{ .name = a, .ctrl_dev_name = b, .function = c, .group = d, \
.hog_on_boot = true }

#ifdef CONFIG_PINMUX

extern int pinmux_register_mappings(struct pinmux_map const *map,
Expand Down

0 comments on commit 565f616

Please sign in to comment.