sensors: ak8975: move ak8975 to own directory under drivers/sensor/
Change-Id: Ib3a8e8a74430d30843db77954737c3ce5dfdce14 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fa078dea4b
commit
db04446964
6 changed files with 5 additions and 4 deletions
|
@ -50,7 +50,7 @@ config SENSOR_INIT_PRIORITY
|
|||
help
|
||||
Sensor initialization priority.
|
||||
|
||||
source "drivers/sensor/Kconfig.ak8975"
|
||||
source "drivers/sensor/ak8975/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.bma280"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ccflags-y +=-I$(srctree)/drivers
|
||||
|
||||
obj-$(CONFIG_AK8975) += sensor_ak8975.o
|
||||
obj-$(CONFIG_AK8975) += ak8975/
|
||||
obj-$(CONFIG_BMA280) += sensor_bma280.o
|
||||
obj-$(CONFIG_BMA280_TRIGGER) += sensor_bma280_trigger.o
|
||||
obj-$(CONFIG_BMC150_MAGN) += sensor_bmc150_magn.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.ak8975 - AK8975 magnetometer configuration options
|
||||
# Kconfig - AK8975 magnetometer configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
1
drivers/sensor/ak8975/Makefile
Normal file
1
drivers/sensor/ak8975/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_AK8975) += ak8975.o
|
|
@ -22,7 +22,7 @@
|
|||
#include <misc/byteorder.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
#include "sensor_ak8975.h"
|
||||
#include "ak8975.h"
|
||||
|
||||
static int ak8975_sample_fetch(struct device *dev, enum sensor_channel chan)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue