x86, mrst: Some drivers need to known when an SCU is available
authorAlan Cox <alan@linux.intel.com>
Fri, 15 Jul 2011 13:39:19 +0000 (14:39 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:36:20 +0000 (12:36 -0800)
commit3fdfe3f231f53d4a8a3f6ed032fc0c9679b7a022
tree6c27c99845a43aa9237d6c40ac862eddbb02ec8c
parentb12d6a2204c1bfee331dfad84f676a021b0ab1de
x86, mrst: Some drivers need to known when an SCU is available

Add a notifier so that drivers can hook into SCU availability in order to
take actions post initialisation when/if the SCU becomes available.

In the ideal world we wouldn't need this and we could avoid any init
dependancies of this form, but in practice we can't do it for some cases.

Change-Id: I8504ff8fac5e8f3ac680aaf2f5334a8284af70c2
Signed-off-by: Alan Cox <alan@linux.intel.com>
arch/x86/include/asm/intel_scu_ipc.h
arch/x86/platform/mrst/mrst.c