commit | 0656358159d7e26205bb9360840759c7c3c0725f | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@deeprootsystems.com> | Mon Jul 26 16:34:30 2010 -0600 |
committer | Paul Walmsley <paul@pwsan.com> | Mon Jul 26 16:34:30 2010 -0600 |
tree | 7ce6f98ba6d2a87fd6890f4960c17feedb8f2a5b | |
parent | 681fddc6d087359c1e3f86529973f5bf62afe4c0 [diff] |
OMAP: omap_device: ensure hwmod tracks attached omap_device pointer The omap_hwmod struct has a field to track the omap_device that is attached to it, but it was not being assigned. Fix by assigning omap_device pointer when omap_device is built. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> [paul@pwsan.com: use an array index rather than pointer arithmetic] Signed-off-by: Paul Walmsley <paul@pwsan.com>