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:
parent
109cfe5889
commit
77bbbb3618
6 changed files with 5 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.max44009 - MAX44009 light sensor configuration options
|
||||
# Kconfig - MAX44009 light sensor configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
1
drivers/sensor/max44009/Makefile
Normal file
1
drivers/sensor/max44009/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_MAX44009) += max44009.o
|
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue