Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162579
b: refs/heads/master
c: a5b8b1a
h: refs/heads/master
i:
  162577: 276b4da
  162575: 698eaa4
v: v3
  • Loading branch information
Mark Brown authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 139155a commit 7a87b80
Show file tree
Hide file tree
Showing 2 changed files with 6 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: b4028437876866aba4747a655ede00f892089e14
refs/heads/master: a5b8b1ada6dd76503884f5492b995cd29eefae0f
5 changes: 5 additions & 0 deletions trunk/include/linux/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,11 @@ static inline struct device *root_device_register(const char *name)
}
extern void root_device_unregister(struct device *root);

static inline void *dev_get_platdata(const struct device *dev)
{
return dev->platform_data;
}

/*
* Manual binding of a device to driver. See drivers/base/bus.c
* for information on use.
Expand Down

0 comments on commit 7a87b80

Please sign in to comment.