From: Paul Walmsley Date: Tue, 14 Dec 2010 19:42:34 +0000 (-0700) Subject: OMAP2+: hwmod: allow custom pre-shutdown functions X-Git-Tag: v2.6.38-rc1~469^2~15^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4dc8f507c3066d6fcece988d99b6d766c46af85;p=pandora-kernel.git OMAP2+: hwmod: allow custom pre-shutdown functions Some OMAP IP blocks, such as the watchdog timers, cannot be completely shut down via the standard hwmod shutdown mechanism. This patch enables the hwmod data files to supply a pointer to a custom pre-shutdown function via the struct omap_hwmod_class.pre_shutdown function pointer. If the struct omap_hwmod_class.pre_shutdown function pointer is non-null, the function will be executed before the existing hwmod shutdown code runs. Signed-off-by: Paul Walmsley Cc: BenoƮt Cousson --- Reading git-diff-tree failed