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

Change-Id: I6b063ebeb53ce6ababd027e15d8d7d94f6174a53
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-15 08:20:00 -04:00 committed by Anas Nashif
commit 77bbbb3618
6 changed files with 5 additions and 4 deletions

View file

@ -86,7 +86,7 @@ source "drivers/sensor/lsm9ds0_gyro/Kconfig"
source "drivers/sensor/lsm9ds0_mfd/Kconfig"
source "drivers/sensor/Kconfig.max44009"
source "drivers/sensor/max44009/Kconfig"
source "drivers/sensor/Kconfig.mcp9808"

View file

@ -18,7 +18,7 @@ obj-$(CONFIG_LPS25HB) += lps25hb/
obj-$(CONFIG_LSM6DS0) += lsm6ds0/
obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro/
obj-$(CONFIG_LSM9DS0_MFD) += lsm9ds0_mfd/
obj-$(CONFIG_MAX44009) += sensor_max44009.o
obj-$(CONFIG_MAX44009) += max44009/
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o
obj-$(CONFIG_MCP9808_TRIGGER) += sensor_mcp9808_trigger.o
obj-$(CONFIG_MPU6050) += sensor_mpu6050.o

View file

@ -1,4 +1,4 @@
# Kconfig.max44009 - MAX44009 light sensor configuration options
# Kconfig - MAX44009 light sensor configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1 @@
obj-$(CONFIG_MAX44009) += max44009.o

View file

@ -19,7 +19,7 @@
#include <sensor.h>
#include <misc/__assert.h>
#include "sensor_max44009.h"
#include "max44009.h"
static int max44009_reg_read(struct max44009_data *drv_data, uint8_t reg,
uint8_t *val, bool send_stop)