[PATCH V3 0/2] x86: IOSF: Add loadable module support

From: David E. Box
Date: Wed Feb 26 2014 - 14:44:29 EST


From: "David E. Box" <david.e.box@xxxxxxxxxxxxxxx>

This patch series adds missing functionalty that mostly affected loadable
modules.

The first patch adds dummy functions to allow drivers not completely
dependant on the IOSF MBI driver to compile on systems that don't have it.

The second ensures the availabilty of the MBI driver in the kernel, limiting the
possibility of requiring a rebuild when new modules needing the MBI are added.

Changes from V2:

- Remove non linux style externs from iosf_mbi.h

Changes from V1:

- Force default y for non-EXPERT to allow easier custom configuration
as suggested by hpa <hpa@xxxxxxxxx>
- Add WARN() to dummy functions, other than iosf_mbi_available(), to
signal incorrect use as suggested by Alan <gnomes@xxxxxxxxxxxxxxxxxxx>
Also return EPERM in these functions
- Splits single patch into two patch series

David E. Box (2):
x86: IOSF: add dummy functions for loadable modules
x86: IOSF: Change IOSF_MBI Kconfig to default y

arch/x86/Kconfig | 5 +++--
arch/x86/include/asm/iosf_mbi.h | 33 +++++++++++++++++++++++++++++++++
arch/x86/kernel/iosf_mbi.c | 6 ++++++
3 files changed, 42 insertions(+), 2 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/