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

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

View file

@ -66,7 +66,7 @@ source "drivers/sensor/dht/Kconfig"
source "drivers/sensor/hdc1008/Kconfig"
source "drivers/sensor/Kconfig.hmc5883l"
source "drivers/sensor/hmc5883l/Kconfig"
source "drivers/sensor/Kconfig.hp206c"

View file

@ -8,8 +8,7 @@ obj-$(CONFIG_BMG160) += bmg160/
obj-$(CONFIG_BMI160) += bmi160/
obj-$(CONFIG_DHT) += dht/
obj-$(CONFIG_HDC1008) += hdc1008/
obj-$(CONFIG_HMC5883L) += sensor_hmc5883l.o
obj-$(CONFIG_HMC5883L_TRIGGER) += sensor_hmc5883l_trigger.o
obj-$(CONFIG_HMC5883L) += hmc5883l/
obj-$(CONFIG_HP206C) += sensor_hp206c.o
obj-$(CONFIG_HTS221) += sensor_hts221.o
obj-$(CONFIG_HTS221_TRIGGER) += sensor_hts221_trigger.o

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_HMC5883L) += hmc5883l.o
obj-$(CONFIG_HMC5883L_TRIGGER) += hmc5883l_trigger.o

View file

@ -21,7 +21,7 @@
#include <sensor.h>
#include <string.h>
#include "sensor_hmc5883l.h"
#include "hmc5883l.h"
static void hmc5883l_convert(struct sensor_value *val, int16_t raw_val,
uint16_t divider)

View file

@ -21,7 +21,7 @@
#include <nanokernel.h>
#include <sensor.h>
#include "sensor_hmc5883l.h"
#include "hmc5883l.h"
int hmc5883l_trigger_set(struct device *dev,
const struct sensor_trigger *trig,