From: Kevin Hilman Date: Mon, 26 Jul 2010 22:34:30 +0000 (-0600) Subject: OMAP: omap_device: ensure hwmod tracks attached omap_device pointer X-Git-Tag: v2.6.36-rc1~488^2~7^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0656358159d7e26205bb9360840759c7c3c0725f;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