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:
parent
c31bbc32d8
commit
57b13ec890
7 changed files with 7 additions and 6 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.bmc150_magn - BMC150 magnetometer sensor configuration options
|
||||
# Kconfig - BMC150 magnetometer sensor configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
2
drivers/sensor/bmc150_magn/Makefile
Normal file
2
drivers/sensor/bmc150_magn/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_BMC150_MAGN) += bmc150_magn.o
|
||||
obj-$(CONFIG_BMC150_MAGN_TRIGGER) += bmc150_magn_trigger.o
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <gpio.h>
|
||||
|
||||
#include "sensor_bmc150_magn.h"
|
||||
#include "bmc150_magn.h"
|
||||
|
||||
static const struct {
|
||||
int freq;
|
|
@ -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;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue