staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol ‘KPC2000’ [Linux 5.2]

staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol ‘KPC2000’ [Linux 5.2]

This Linux kernel change "staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol ‘KPC2000’" is included in the Linux 5.2 release. This change is authored by Geordan Neukum <gneukum1 [at] gmail.com> on Fri May 24 02:36:36 2019 +0000. The commit for this change in Linux stable tree is e61ff0f (patch).

staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol 'KPC2000'

The kpc2000 core makes calls against functions conditionally exported
upon selection of the kconfig symbol MFD_CORE. Therefore, the kpc2000
core depends upon the mfd_core, and that dependency must be tracked in
Kconfig to avoid potential build issues.

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/kpc2000/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig
index febe4f8..3bb2efd 100644
--- a/drivers/staging/kpc2000/Kconfig
+++ b/drivers/staging/kpc2000/Kconfig
@@ -2,6 +2,7 @@

 config KPC2000
    bool "Daktronics KPC Device support"
+   select MFD_CORE
    depends on PCI
    depends on UIO
    help

Leave a Reply

Your email address will not be published. Required fields are marked *