mfd: rk618: fix compile error

Change-Id: I9537cfba5afc37df0c450068317962c3d69ecff9
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi 2019-10-11 15:00:50 +08:00 committed by Tao Huang
parent d2ee17ae9f
commit 8ad7ce2644
3 changed files with 12 additions and 0 deletions

View File

@ -996,6 +996,16 @@ config MFD_RC5T583
Additional drivers must be enabled in order to use the
different functionality of the device.
config MFD_RK618
bool "Rockchip RK618 MFD Driver"
depends on I2C
depends on OF
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
help
if you say yes here you get support for the RK618 from Rockchip.
config MFD_RK808
tristate "Rockchip RK805/RK808/RK809/RK816/RK817/RK818 Power Management Chip"
depends on I2C && OF

View File

@ -206,6 +206,7 @@ obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o
obj-$(CONFIG_MFD_PALMAS) += palmas.o
obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o
obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o
obj-$(CONFIG_MFD_RK618) += rk618.o
obj-$(CONFIG_MFD_RK808) += rk808.o
obj-$(CONFIG_MFD_RN5T618) += rn5t618.o
obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o

View File

@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/gpio/consumer.h>
#include <linux/pinctrl/consumer.h>
#include <linux/regulator/consumer.h>
#include <linux/mfd/core.h>
#include <linux/mfd/rk618.h>