From 003bd8ed9b56dda96dd4aede6a0a9bf973e4ea8a Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Mon, 11 Mar 2024 12:05:16 +0000 Subject: [PATCH] bmi088: Add build dependency on HTE The BMI088 driver is dependent upon the HTE driver and so only build the BMI088 driver if HTE is enabled. Bug 3961133 Change-Id: I1338d44f4814fb23636206081019ea9cb1390fcc Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3093706 Reviewed-by: Gautham Srinivasan GVS: Gerrit_Virtual_Submit Reviewed-by: Brad Griffis --- drivers/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/Makefile b/drivers/Makefile index 59d5bea6..eb56971e 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -32,10 +32,12 @@ endif ifdef CONFIG_I2C obj-m += i2c/busses/ obj-m += mfd/ +ifdef CONFIG_HTE ifdef CONFIG_IIO obj-m += bmi088/ endif endif +endif ifdef CONFIG_MEMORY obj-m += memory/ endif