Skip to content

Commit

Permalink
sensors: bmg160: move bmg160 to own directory under drivers/sensor/
Browse files Browse the repository at this point in the history
Change-Id: Ifae44714f08537835c8466fba11b6853f258f148
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and Anas Nashif committed Oct 17, 2016
1 parent c445de3 commit 0005f2f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/sensor/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ source "drivers/sensor/bmc150_magn/Kconfig"

source "drivers/sensor/bme280/Kconfig"

source "drivers/sensor/Kconfig.bmg160"
source "drivers/sensor/bmg160/Kconfig"

source "drivers/sensor/Kconfig.bmi160"

Expand Down
3 changes: 1 addition & 2 deletions drivers/sensor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ obj-$(CONFIG_AK8975) += ak8975/
obj-$(CONFIG_BMA280) += bma280/
obj-$(CONFIG_BMC150_MAGN) += bmc150_magn/
obj-$(CONFIG_BME280) += bme280/
obj-$(CONFIG_BMG160) += sensor_bmg160.o
obj-$(CONFIG_BMG160_TRIGGER) += sensor_bmg160_trigger.o
obj-$(CONFIG_BMG160) += bmg160/
obj-$(CONFIG_BMI160) += sensor_bmi160.o
obj-$(CONFIG_BMI160_TRIGGER) += sensor_bmi160_trigger.o
obj-$(CONFIG_DHT) += sensor_dht.o
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions drivers/sensor/bmg160/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-$(CONFIG_BMG160) += bmg160.o
obj-$(CONFIG_BMG160_TRIGGER) += bmg160_trigger.o
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <misc/byteorder.h>
#include <nanokernel.h>

#include "sensor_bmg160.h"
#include "bmg160.h"

struct bmg160_device_data bmg160_data;

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <nanokernel.h>
#include <sensor.h>

#include "sensor_bmg160.h"
#include "bmg160.h"

extern struct bmg160_device_data bmg160_data;

Expand Down

0 comments on commit 0005f2f

Please sign in to comment.