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

Change-Id: I725438747b3208ebd49f4f7d9ef6277721eaa48f
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 57b13ec890
7 changed files with 7 additions and 6 deletions

View file

@ -54,7 +54,7 @@ source "drivers/sensor/ak8975/Kconfig"
source "drivers/sensor/bma280/Kconfig"
source "drivers/sensor/Kconfig.bmc150_magn"
source "drivers/sensor/bmc150_magn/Kconfig"
source "drivers/sensor/Kconfig.bme280"

View file

@ -2,8 +2,7 @@ ccflags-y +=-I$(srctree)/drivers
obj-$(CONFIG_AK8975) += ak8975/
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_BMC150_MAGN) += bmc150_magn/
obj-$(CONFIG_BME280) += sensor_bme280.o
obj-$(CONFIG_BMG160) += sensor_bmg160.o
obj-$(CONFIG_BMG160_TRIGGER) += sensor_bmg160_trigger.o

View file

@ -1,4 +1,4 @@
# Kconfig.bmc150_magn - BMC150 magnetometer sensor configuration options
# Kconfig - BMC150 magnetometer sensor configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_BMC150_MAGN) += bmc150_magn.o
obj-$(CONFIG_BMC150_MAGN_TRIGGER) += bmc150_magn_trigger.o

View file

@ -28,7 +28,7 @@
#include <gpio.h>
#include "sensor_bmc150_magn.h"
#include "bmc150_magn.h"
static const struct {
int freq;

View file

@ -20,7 +20,7 @@
#include <nanokernel.h>
#include <sensor.h>
#include "sensor_bmc150_magn.h"
#include "bmc150_magn.h"
extern struct bmc150_magn_data bmc150_magn_data;