Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286909
b: refs/heads/master
c: 2a7f51a
h: refs/heads/master
i:
  286907: 3dec0db
v: v3
  • Loading branch information
Russell King committed Jan 21, 2012
1 parent 2f6c21e commit 2131246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98250221691f728b7cad6deed98866f8847e683f
refs/heads/master: 2a7f51a3e08cdaeea78d9e101a0079422a55bbc3
5 changes: 4 additions & 1 deletion trunk/include/linux/mfd/mcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ void mcp_driver_unregister(struct mcp_driver *);
#define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device)
#define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d)

#define mcp_priv(mcp) ((void *)((mcp)+1))
static inline void *mcp_priv(struct mcp *mcp)
{
return mcp + 1;
}

#endif

0 comments on commit 2131246

Please sign in to comment.