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:
Anas Nashif 2016-10-15 08:19:58 -04:00 committed by Anas Nashif
commit 81c564a675
7 changed files with 7 additions and 6 deletions

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,4 @@
# Kconfig.lsm9ds0_gyro - LSM9DS0 gyroscope sensor configuration options
# Kconfig - LSM9DS0 gyroscope sensor configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro.o
obj-$(CONFIG_LSM9DS0_GYRO_TRIGGER_DRDY) += lsm9ds0_gyro_trigger.o

View file

@ -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)

View file

@ -24,7 +24,7 @@
#include <gpio.h>
#include "sensor_lsm9ds0_gyro.h"
#include "lsm9ds0_gyro.h"
extern struct lsm9ds0_gyro_data lsm9ds0_gyro_data;