sensors: bma280: move bma280 to own directory under drivers/sensor/

Change-Id: I1c73d36a51ea88fbda3707c7d6630d54f8fd3545
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-15 08:19:51 -04:00 committed by Anas Nashif
commit c31bbc32d8
7 changed files with 7 additions and 6 deletions

View file

@ -52,7 +52,7 @@ config SENSOR_INIT_PRIORITY
source "drivers/sensor/ak8975/Kconfig"
source "drivers/sensor/Kconfig.bma280"
source "drivers/sensor/bma280/Kconfig"
source "drivers/sensor/Kconfig.bmc150_magn"

View file

@ -1,8 +1,7 @@
ccflags-y +=-I$(srctree)/drivers
obj-$(CONFIG_AK8975) += ak8975/
obj-$(CONFIG_BMA280) += sensor_bma280.o
obj-$(CONFIG_BMA280_TRIGGER) += sensor_bma280_trigger.o
obj-$(CONFIG_BMA280) += bma280/
obj-$(CONFIG_BMC150_MAGN) += sensor_bmc150_magn.o
obj-$(CONFIG_BMC150_MAGN_TRIGGER_DRDY) += sensor_bmc150_magn_trigger.o
obj-$(CONFIG_BME280) += sensor_bme280.o

View file

@ -1,4 +1,4 @@
# Kconfig.bma280 - BMA280 Three Axis Accelerometer configuration options
# Kconfig - BMA280 Three Axis Accelerometer configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_BMA280) += bma280.o
obj-$(CONFIG_BMA280_TRIGGER) += bma280_trigger.o

View file

@ -19,7 +19,7 @@
#include <sensor.h>
#include <misc/__assert.h>
#include "sensor_bma280.h"
#include "bma280.h"
static int bma280_sample_fetch(struct device *dev, enum sensor_channel chan)
{

View file

@ -20,7 +20,7 @@
#include <nanokernel.h>
#include <sensor.h>
#include "sensor_bma280.h"
#include "bma280.h"
int bma280_attr_set(struct device *dev,
enum sensor_channel chan,