mfd: Kconfig: Add missing Kconfig dependency for TPS65086
authorMichal Simek <michal.simek@xilinx.com>
Mon, 17 Jul 2017 09:28:55 +0000 (11:28 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Sep 2017 07:46:00 +0000 (08:46 +0100)
commit5c8f124893c4a691bdae5e9258cb0bca44653f08
tree1074a7834570be71c68520184e09f046d87cfbc0
parent757bce527da57ad9fbb91d97455e17c5716375d4
mfd: Kconfig: Add missing Kconfig dependency for TPS65086

MTF_CORE should be enabled when driver is enabled.

Without this patch you can configure:

CONFIG_MFD_CORE is not set
  CONFIG_MFD_TPS65086=y

... which ends up with compilation error:
drivers/mfd/tps65086.o: In function `tps65086_probe':
drivers/mfd/tps65086.c:110: undefined reference to `mfd_add_devices'
drivers/mfd/tps65086.c:110:(.text+0x128): relocation truncated to fit: \
  R_AARCH64_CALL26 against undefined symbol `mfd_add_devices'

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig