Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235470
b: refs/heads/master
c: 481e207
h: refs/heads/master
v: v3
  • Loading branch information
Ferenc Wagner authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent 4e7962e commit 8d79b75
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: 6add7cd618b4d4dc525731beb539c5e06e891855
refs/heads/master: 481e20799bdcf98fd5a1d829d187239a90b15395
5 changes: 4 additions & 1 deletion trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,10 @@ struct root_device
struct module *owner;
};

#define to_root_device(dev) container_of(dev, struct root_device, dev)
inline struct root_device *to_root_device(struct device *d)
{
return container_of(d, struct root_device, dev);
}

static void root_device_release(struct device *dev)
{
Expand Down

0 comments on commit 8d79b75

Please sign in to comment.