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:
Anas Nashif 2016-10-15 08:19:50 -04:00 committed by Anas Nashif
commit db04446964
6 changed files with 5 additions and 4 deletions

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,4 @@
# Kconfig.ak8975 - AK8975 magnetometer configuration options
# Kconfig - AK8975 magnetometer configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1 @@
obj-$(CONFIG_AK8975) += ak8975.o

View file

@ -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)
{