From 4cced4e963a66c0483e65fe3558b6ab66d379bb7 Mon Sep 17 00:00:00 2001 From: Giulio Date: Tue, 8 Sep 2020 20:11:49 +0200 Subject: [PATCH] Patches fix --- .../1002-imx8mm-Add-PCA9450-PMIC-support.patch | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch b/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch index 3f08869..fab2ab5 100644 --- a/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch +++ b/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch @@ -21,10 +21,10 @@ diff --git drivers/mfd/Makefile drivers/mfd/Makefile index c6755df735ba..962dcc88d99c 100644 --- linux-imx/drivers/mfd/Makefile +++ linux-imx/drivers/mfd/Makefile -@@ -232,3 +232,4 @@ obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o +@@ -241,3 +241,4 @@ + obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o - obj-$(CONFIG_MFD_BD71837) += bd71837.o +obj-$(CONFIG_MFD_PCA9450) += pca9450.o diff --git drivers/mfd/pca9450.c drivers/mfd/pca9450.c new file mode 100644 @@ -356,14 +356,12 @@ diff --git drivers/regulator/Makefile drivers/regulator/Makefile index 1bddbefbc8e7..0072ad5666f8 100644 --- linux-imx/drivers/regulator/Makefile +++ linux-imx/drivers/regulator/Makefile -@@ -126,6 +126,7 @@ obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o +@@ -131,6 +131,7 @@ + obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o - obj-$(CONFIG_REGULATOR_BD71837) += bd71837-regulator.o +obj-$(CONFIG_REGULATOR_PCA9450) += pca9450-regulator.o - - - ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG + diff --git drivers/regulator/pca9450-regulator.c drivers/regulator/pca9450-regulator.c new file mode 100644 index 000000000000..6b9ce8f34e0e