android_kernel_samsung_sm8650/stm_iio_patches/4.19.y/0001-stm-Add-STM-sensors-drivers-to-build-system.patch
mariotesi fd9092e177 drivers:iio:stm: remove all custom types previously introduced in IIO
All the patches applied to the IIO framework file types.h have been
removed, then concentrated and replaced with different ones (prefixed
by STM_) in a single stm driver file:
drivers/iio/stm/common/stm_iio_types.h
which is expected to be shared with the application layer or hal.

Signed-off-by: mariotesi <mario.tesi@st.com>
Change-Id: I66ca184fe31f3b09bfe830187d9e3f096dd219f1
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/323957
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Matteo DAMENO <matteo.dameno@st.com>
2023-09-14 22:54:51 +02:00

34 lines
990 B
Diff

From 608fba430cc3ab55d8c6d07d628365517b053596 Mon Sep 17 00:00:00 2001
From: Denis Ciocca <denis.ciocca@st.com>
Date: Thu, 2 Sep 2021 10:13:15 -0700
Subject: [PATCH] Add STM sensors drivers to build system
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
---
drivers/iio/Kconfig | 1 +
drivers/iio/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index 5bd51853b..085045ac5 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -94,5 +94,6 @@ source "drivers/iio/pressure/Kconfig"
source "drivers/iio/proximity/Kconfig"
source "drivers/iio/resolver/Kconfig"
source "drivers/iio/temperature/Kconfig"
+source "drivers/iio/stm/Kconfig"
endif # IIO
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index bff682ad1..3a002616b 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -38,3 +38,4 @@ obj-y += proximity/
obj-y += resolver/
obj-y += temperature/
obj-y += trigger/
+obj-y += stm/
--
2.33.0