1 From 322ff2fe86ec4dead2d2bceb20b624c72bdd1405 Mon Sep 17 00:00:00 2001
2 From: Thierry Reding <treding@nvidia.com>
3 Date: Mon, 15 Feb 2016 14:22:22 +0100
4 Subject: [PATCH 155/226] staging: fsl-mc: Do not allow building as a module
6 This driver uses functionality (MSI IRQ domain) whose symbols aren't
7 exported, and hence the modular build fails. While arguably there might
8 be reasons to make these symbols available to modules, that change would
9 be fairly involved and the set of exported functions should be carefully
10 auditioned. Fix the build failure for now by marking the driver boolean.
12 Cc: J. German Rivera <German.Rivera@freescale.com>
13 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 Signed-off-by: Thierry Reding <treding@nvidia.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 drivers/staging/fsl-mc/bus/Kconfig | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 --- a/drivers/staging/fsl-mc/bus/Kconfig
21 +++ b/drivers/staging/fsl-mc/bus/Kconfig
26 - tristate "Freescale Management Complex (MC) bus driver"
27 + bool "Freescale Management Complex (MC) bus driver"
28 depends on OF && ARM64
29 select GENERIC_MSI_IRQ_DOMAIN