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

Change-Id: If5fd1277ec93455ee7a1e856357dfab0930a653c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-15 08:20:02 -04:00
commit 623b43f5dc
7 changed files with 7 additions and 6 deletions

View file

@ -98,6 +98,6 @@ source "drivers/sensor/sx9500/Kconfig"
source "drivers/sensor/th02/Kconfig"
source "drivers/sensor/Kconfig.tmp007"
source "drivers/sensor/tmp007/Kconfig"
source "drivers/sensor/Kconfig.tmp112"

View file

@ -24,6 +24,5 @@ obj-$(CONFIG_MPU6050) += mpu6050/
obj-$(CONFIG_SHT3XD) += sht3xd/
obj-$(CONFIG_SX9500) += sx9500/
obj-$(CONFIG_TH02) += th02/
obj-$(CONFIG_TMP007) += sensor_tmp007.o
obj-$(CONFIG_TMP007_TRIGGER) += sensor_tmp007_trigger.o
obj-$(CONFIG_TMP007) += tmp007/
obj-$(CONFIG_TMP112) += sensor_tmp112.o

View file

@ -1,4 +1,4 @@
# Kconfig.tmp007 - TMP007 infrared thermopile sensor configuration options
# Kconfig - TMP007 infrared thermopile sensor configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_TMP007) += tmp007.o
obj-$(CONFIG_TMP007_TRIGGER) += tmp007_trigger.o

View file

@ -23,7 +23,7 @@
#include <sensor.h>
#include <misc/__assert.h>
#include "sensor_tmp007.h"
#include "tmp007.h"
int tmp007_reg_read(struct tmp007_data *drv_data, uint8_t reg, uint16_t *val)
{

View file

@ -20,7 +20,7 @@
#include <nanokernel.h>
#include <sensor.h>
#include "sensor_tmp007.h"
#include "tmp007.h"
extern struct tmp007_data tmp007_driver;