sensors: lsm9ds0_gyro: move lsm9ds0_gyro to own directory under drivers/sensor/
Change-Id: Ia654ab8059d656da6b4414a3fe35c81ec39654d3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1ae2b855c1
commit
81c564a675
7 changed files with 7 additions and 6 deletions
|
@ -82,7 +82,7 @@ source "drivers/sensor/lps25hb/Kconfig"
|
|||
|
||||
source "drivers/sensor/lsm6ds0/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.lsm9ds0_gyro"
|
||||
source "drivers/sensor/lsm9ds0_gyro/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.lsm9ds0_mfd"
|
||||
|
||||
|
|
|
@ -16,8 +16,7 @@ obj-$(CONFIG_LIS3DH) += lis3dh/
|
|||
obj-$(CONFIG_LIS3MDL) += lis3mdl/
|
||||
obj-$(CONFIG_LPS25HB) += lps25hb/
|
||||
obj-$(CONFIG_LSM6DS0) += lsm6ds0/
|
||||
obj-$(CONFIG_LSM9DS0_GYRO) += sensor_lsm9ds0_gyro.o
|
||||
obj-$(CONFIG_LSM9DS0_GYRO_TRIGGER_DRDY) += sensor_lsm9ds0_gyro_trigger.o
|
||||
obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro/
|
||||
obj-$(CONFIG_LSM9DS0_MFD) += sensor_lsm9ds0_mfd.o
|
||||
obj-$(CONFIG_MAX44009) += sensor_max44009.o
|
||||
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.lsm9ds0_gyro - LSM9DS0 gyroscope sensor configuration options
|
||||
# Kconfig - LSM9DS0 gyroscope sensor configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
2
drivers/sensor/lsm9ds0_gyro/Makefile
Normal file
2
drivers/sensor/lsm9ds0_gyro/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro.o
|
||||
obj-$(CONFIG_LSM9DS0_GYRO_TRIGGER_DRDY) += lsm9ds0_gyro_trigger.o
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <gpio.h>
|
||||
|
||||
#include "sensor_lsm9ds0_gyro.h"
|
||||
#include "lsm9ds0_gyro.h"
|
||||
|
||||
static inline int lsm9ds0_gyro_power_ctrl(struct device *dev, int power,
|
||||
int x_en, int y_en, int z_en)
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gpio.h>
|
||||
|
||||
#include "sensor_lsm9ds0_gyro.h"
|
||||
#include "lsm9ds0_gyro.h"
|
||||
|
||||
extern struct lsm9ds0_gyro_data lsm9ds0_gyro_data;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue