x86, mrst: Some drivers need to known when an SCU is available
commit42c2544b2d7d4f287bfa239455af09b6408476e2
authorAlan Cox <alan@linux.intel.com>
Wed, 7 Sep 2011 13:06:51 +0000 (7 16:06 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:15 +0000 (24 14:09 +0200)
tree95cecad4ffcaa206434aea36ed746f84e48ec4e6
parent1f5a371c075a7101fe75a75cde5aad928460a42e
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.

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