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:
parent
37cf07df27
commit
4166365c00
7 changed files with 6 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
2
drivers/sensor/hmc5883l/Makefile
Normal file
2
drivers/sensor/hmc5883l/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_HMC5883L) += hmc5883l.o
|
||||
obj-$(CONFIG_HMC5883L_TRIGGER) += hmc5883l_trigger.o
|
|
@ -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)
|
|
@ -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,
|
Loading…
Add table
Add a link
Reference in a new issue