From c2096f17d619acd9518acd27da7bb21f96258298 Mon Sep 17 00:00:00 2001 From: Floxx Date: Wed, 10 May 2017 19:56:02 +0200 Subject: [PATCH] Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig. --- drivers/sensors/Make.defs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/sensors/Make.defs b/drivers/sensors/Make.defs index 7a5d5a0bba..74464abb7d 100644 --- a/drivers/sensors/Make.defs +++ b/drivers/sensors/Make.defs @@ -57,10 +57,6 @@ ifeq ($(CONFIG_LIS2DH),y) CSRCS += lis2dh.c endif -ifeq ($(CONFIG_LIS3DSH),y) - CSRCS += lis3dsh.c -endif - ifeq ($(CONFIG_LIS331DL),y) CSRCS += lis331dl.c endif @@ -126,6 +122,10 @@ ifeq ($(CONFIG_ADXL345_SPI),y) CSRCS += adxl345_spi.c endif +ifeq ($(CONFIG_LIS3DSH),y) + CSRCS += lis3dsh.c +endif + ifeq ($(CONFIG_MAX31855),y) CSRCS += max31855.c endif