sensors: bmi160: move bmi160 to own directory under drivers/sensor/
Change-Id: I14bfabf77b7aa64acbf25a922a94f92c559b13f7 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
0005f2ff06
commit
49a6d13849
7 changed files with 8 additions and 5 deletions
|
@ -60,7 +60,7 @@ source "drivers/sensor/bme280/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/bmg160/Kconfig"
|
source "drivers/sensor/bmg160/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/Kconfig.bmi160"
|
source "drivers/sensor/bmi160/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/Kconfig.dht"
|
source "drivers/sensor/Kconfig.dht"
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,7 @@ obj-$(CONFIG_BMA280) += bma280/
|
||||||
obj-$(CONFIG_BMC150_MAGN) += bmc150_magn/
|
obj-$(CONFIG_BMC150_MAGN) += bmc150_magn/
|
||||||
obj-$(CONFIG_BME280) += bme280/
|
obj-$(CONFIG_BME280) += bme280/
|
||||||
obj-$(CONFIG_BMG160) += bmg160/
|
obj-$(CONFIG_BMG160) += bmg160/
|
||||||
obj-$(CONFIG_BMI160) += sensor_bmi160.o
|
obj-$(CONFIG_BMI160) += bmi160/
|
||||||
obj-$(CONFIG_BMI160_TRIGGER) += sensor_bmi160_trigger.o
|
|
||||||
obj-$(CONFIG_DHT) += sensor_dht.o
|
obj-$(CONFIG_DHT) += sensor_dht.o
|
||||||
obj-$(CONFIG_HDC1008) += sensor_hdc1008.o
|
obj-$(CONFIG_HDC1008) += sensor_hdc1008.o
|
||||||
obj-$(CONFIG_HMC5883L) += sensor_hmc5883l.o
|
obj-$(CONFIG_HMC5883L) += sensor_hmc5883l.o
|
||||||
|
|
4
drivers/sensor/bmi160/Makefile
Normal file
4
drivers/sensor/bmi160/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
ccflags-y +=-I$(srctree)/drivers
|
||||||
|
|
||||||
|
obj-$(CONFIG_BMI160) += bmi160.o
|
||||||
|
obj-$(CONFIG_BMI160_TRIGGER) += bmi160_trigger.o
|
|
@ -25,7 +25,7 @@
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
#include "sensor_bmi160.h"
|
#include "bmi160.h"
|
||||||
|
|
||||||
struct bmi160_device_data bmi160_data;
|
struct bmi160_device_data bmi160_data;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include <ipm/ipm_quark_se.h>
|
#include <ipm/ipm_quark_se.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sensor_bmi160.h"
|
#include "bmi160.h"
|
||||||
|
|
||||||
static void bmi160_handle_anymotion(struct device *dev)
|
static void bmi160_handle_anymotion(struct device *dev)
|
||||||
{
|
{
|
Loading…
Add table
Add a link
Reference in a new issue