x86, iosf: Make IOSF driver modular and usable by more drivers
authorDavid E. Box <david.e.box@linux.intel.com>
Fri, 9 May 2014 20:44:05 +0000 (13:44 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 9 May 2014 21:56:15 +0000 (14:56 -0700)
Currently drivers that run on non-IOSF systems (Core/Xeon) can't use the IOSF
driver on SOC's without selecting it which forces an unnecessary and limiting
dependency. Provides dummy functions to allow these modules to conditionally
use the driver on IOSF equipped platforms without impacting their ability to
compile and load on non-IOSF platforms. Build default m to ensure availability
on x86 SOC's.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: http://lkml.kernel.org/r/1399668248-24199-2-git-send-email-david.e.box@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig
arch/x86/include/asm/iosf_mbi.h
arch/x86/kernel/iosf_mbi.c

Simple merge
Simple merge
Simple merge