sensors: hts221: move hts221 to own directory under drivers/sensor/
Change-Id: Id568ee3fae62090ef2711d34fbfd9de214630008 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e71a133dd7
commit
cc43b3017a
7 changed files with 6 additions and 5 deletions
|
@ -70,7 +70,7 @@ source "drivers/sensor/hmc5883l/Kconfig"
|
|||
|
||||
source "drivers/sensor/hp206c/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.hts221"
|
||||
source "drivers/sensor/hts221/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.isl29035"
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@ obj-$(CONFIG_DHT) += dht/
|
|||
obj-$(CONFIG_HDC1008) += hdc1008/
|
||||
obj-$(CONFIG_HMC5883L) += hmc5883l/
|
||||
obj-$(CONFIG_HP206C) += hp206c/
|
||||
obj-$(CONFIG_HTS221) += sensor_hts221.o
|
||||
obj-$(CONFIG_HTS221_TRIGGER) += sensor_hts221_trigger.o
|
||||
obj-$(CONFIG_HTS221) += hts221/
|
||||
obj-$(CONFIG_ISL29035) += sensor_isl29035.o
|
||||
obj-$(CONFIG_ISL29035_TRIGGER) += sensor_isl29035_trigger.o
|
||||
obj-$(CONFIG_LIS3DH) += sensor_lis3dh.o
|
||||
|
|
2
drivers/sensor/hts221/Makefile
Normal file
2
drivers/sensor/hts221/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_HTS221) += hts221.o
|
||||
obj-$(CONFIG_HTS221_TRIGGER) += hts221_trigger.o
|
|
@ -21,7 +21,7 @@
|
|||
#include <sensor.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "sensor_hts221.h"
|
||||
#include "hts221.h"
|
||||
|
||||
static int hts221_channel_get(struct device *dev,
|
||||
enum sensor_channel chan,
|
|
@ -21,7 +21,7 @@
|
|||
#include <nanokernel.h>
|
||||
#include <sensor.h>
|
||||
|
||||
#include "sensor_hts221.h"
|
||||
#include "hts221.h"
|
||||
|
||||
int hts221_trigger_set(struct device *dev,
|
||||
const struct sensor_trigger *trig,
|
Loading…
Add table
Add a link
Reference in a new issue