From: Kevin Hilman Date: Fri, 2 Jul 2010 15:33:44 +0000 (-0600) Subject: OMAP: omap_device: ensure hwmod tracks attached omap_device pointer X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51543ee4ea855e4dc1c4acbf4c95bff4ce0b10f4;p=pandora-kernel.git 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 [paul@pwsan.com: use an array index rather than pointer arithmetic] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed